1
0
Fork 0
forked from forgejo/forgejo

Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin

This commit is contained in:
Florian Kaiser 2016-01-31 15:18:28 +00:00
parent e35791b2b2
commit 8c4588c4c9
2 changed files with 8 additions and 8 deletions

View file

@ -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