enhancement: only use allowed roles for the graph service

This commit is contained in:
Florian Schade
2024-08-21 14:08:39 +02:00
parent 196c988b8c
commit e348ac290e
22 changed files with 161 additions and 244 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ func unifiedRolesStatus(cfg *config.Config) *cli.Command {
var data [][]string
for _, definition := range unifiedrole.GetDefinitions(unifiedrole.RoleFilterAll()) {
// fixMe: should we use all definitions?
for _, definition := range unifiedrole.GetRoles(unifiedrole.RoleFilterAll()) {
data = append(data, []string{"", definition.GetId(), definition.GetDescription()})
}