Access Control: Make it possible to exclude role grants (#91647)

This commit is contained in:
Alexander Zobnin authored and GitHub committed 2024-08-08 14:11:17 +02:00
1 parent 89ee970ec3
commit 0e5d7633f7
2 files changed
+5 -2

No files matched your search

+2
View File
@@ -442,6 +442,8 @@ func (hs *HTTPServer) declareFixedRoles() error {
},
},
Grants: []string{"Editor"},
// Don't grant fixed:folders:creator to Admin
Exclude: []string{"Admin"},
}
foldersReaderRole := ac.RoleRegistration{