1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

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