[full-ci] Added a new roles viewer/editor with ListGrants

This commit is contained in:
Roman Perekhod
2024-08-29 15:38:04 +02:00
committed by Michael Barz
parent 09ffe3891e
commit d3e8eb34df
12 changed files with 189 additions and 12 deletions

View File

@@ -15,7 +15,13 @@ import (
var (
// _disabledByDefaultUnifiedRoleRoleIDs contains all roles that are not enabled by default,
// but can be enabled by the user.
_disabledByDefaultUnifiedRoleRoleIDs = []string{unifiedrole.UnifiedRoleSecureViewerID, unifiedrole.UnifiedRoleSpaceEditorWithoutVersionsID}
_disabledByDefaultUnifiedRoleRoleIDs = []string{
unifiedrole.UnifiedRoleSecureViewerID,
unifiedrole.UnifiedRoleSpaceEditorWithoutVersionsID,
unifiedrole.UnifiedRoleViewerListGrantsID,
unifiedrole.UnifiedRoleEditorListGrantsID,
unifiedrole.UnifiedRoleFileEditorListGrantsID,
}
)
// FullDefaultConfig returns a fully initialized default configuration