mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 07:09:09 -04:00
fix empty branch
This commit is contained in:
1 file changed
+1
-3
@@ -66,11 +66,9 @@ func (g Service) RegisterDefaultRoles() {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(refs) iterate over defaultRoleAssignment creating such role assignments. settings.go
|
||||
//g.manager.WriteRoleAssignment()
|
||||
for _, req := range defaultRoleAssignments() {
|
||||
if _, err := g.manager.WriteRoleAssignment(req.AccountUuid, req.RoleId); err != nil {
|
||||
// handle me
|
||||
g.logger.Error().Err(err).Msg("failed to register role assignment")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user