forked from forgejo/forgejo
Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin
This commit is contained in:
parent
e35791b2b2
commit
8c4588c4c9
2 changed files with 8 additions and 8 deletions
|
@ -66,7 +66,7 @@ type Context struct {
|
|||
IsOwner bool
|
||||
IsMember bool
|
||||
IsTeamMember bool // Is member of team.
|
||||
IsAdminTeam bool // In owner team or team that has admin permission level.
|
||||
IsTeamAdmin bool // In owner team or team that has admin permission level.
|
||||
Organization *models.User
|
||||
OrgLink string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue