mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
Only show teams the user has access to
This commit is contained in:
parent
5eafe2b17e
commit
e35791b2b2
6 changed files with 84 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue