mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00: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