Only show teams the user has access to

This commit is contained in:
Florian Kaiser 2016-01-31 13:28:42 +00:00
parent 5eafe2b17e
commit e35791b2b2
6 changed files with 84 additions and 41 deletions

View file

@ -65,6 +65,7 @@ type Context struct {
Org struct {
IsOwner bool
IsMember bool
IsTeamMember bool // Is member of team.
IsAdminTeam bool // In owner team or team that has admin permission level.
Organization *models.User
OrgLink string