mirror of
https://gitee.com/gitea/gitea
synced 2025-11-21 00:40:26 +08: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