mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-03 02:33:29 +02:00
add templates for pages to add and manage teams with access to a group
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package group
|
||||
|
||||
import (
|
||||
"code.gitea.io/gitea/models/perm"
|
||||
"context"
|
||||
"slices"
|
||||
|
||||
@@ -102,7 +103,7 @@ func GetTopLevelGroupItemList(ctx context.Context, orgID int64, doer *user_model
|
||||
ActorID: doer.ID,
|
||||
OwnerID: orgID,
|
||||
}, group_model.
|
||||
AccessibleGroupCondition(doer, unit.TypeInvalid))
|
||||
AccessibleGroupCondition(doer, unit.TypeInvalid, perm.AccessModeRead))
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user