summaryrefslogtreecommitdiffstats
path: root/modules/middleware/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r--modules/middleware/context.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go
index d58967b891..cd11c08b15 100644
--- a/modules/middleware/context.go
+++ b/modules/middleware/context.go
@@ -65,7 +65,8 @@ type Context struct {
Org struct {
IsOwner bool
IsMember bool
- IsAdminTeam bool // In owner team or team that has admin permission level.
+ IsTeamMember bool // Is member of team.
+ IsTeamAdmin bool // In owner team or team that has admin permission level.
Organization *models.User
OrgLink string