mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-28 06:27:27 -04:00
Only show teams the user has access to
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user