Team: Add an endpoint for bulk team membership updates (#87441)
* add an endpoint for bulk team membership updates * update comment * schema gen * test fix * add swagger parameter definition
This commit is contained in:
@@ -126,6 +126,7 @@ type SyncUserRolesCommand struct {
|
||||
type TeamPermissionsService interface {
|
||||
GetPermissions(ctx context.Context, user identity.Requester, resourceID string) ([]ResourcePermission, error)
|
||||
SetUserPermission(ctx context.Context, orgID int64, user User, resourceID, permission string) (*ResourcePermission, error)
|
||||
SetPermissions(ctx context.Context, orgID int64, resourceID string, commands ...SetResourcePermissionCommand) ([]ResourcePermission, error)
|
||||
}
|
||||
|
||||
type FolderPermissionsService interface {
|
||||
|
||||
Reference in New Issue
Block a user