Files
opencloud/services/graph/pkg/unifiedrole/export_test.go
T
Michael Barzandv.scharf b955c7c4f0 feat: add new editor roles (#3637)
* feat: add new editor roles

* add tests for additional roles

* fix: disable new roles in config

* adjust tests

* fix listGrantsShareRole test

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-10-05 14:07:30 +02:00

30 lines
1.6 KiB
Go

package unifiedrole
var (
RoleViewer = roleViewer
RoleViewerWithVersions = roleViewerWithVersions
RoleViewerListGrants = roleViewerListGrants
RoleSpaceViewer = roleSpaceViewer
RoleSpaceViewerWithVersions = roleSpaceViewerWithVersions
RoleEditor = roleEditor
RoleEditorWithVersions = roleEditorWithVersions
RoleEditorListGrants = roleEditorListGrants
RoleEditorListGrantsWithVersions = roleEditorListGrantsWithVersions
RoleSpaceEditor = roleSpaceEditor
RoleSpaceEditorWithVersions = roleSpaceEditorWithVersions
RoleSpaceEditorWithoutTrashbin = roleSpaceEditorWithoutTrashbin
RoleSpaceEditorWithoutVersionsWithoutTrashbin = roleSpaceEditorWithoutVersionsWithoutTrashbin
RoleFileEditor = roleFileEditor
RoleFileEditorWithVersions = roleFileEditorWithVersions
RoleFileEditorListGrants = roleFileEditorListGrants
RoleFileEditorListGrantsWithVersions = roleFileEditorListGrantsWithVersions
RoleEditorLite = roleEditorLite
RoleManager = roleManager
RoleSecureViewer = roleSecureViewer
RoleDenied = roleDenied
BuildInRoles = buildInRoles
WeightDefinitions = weightRoles
)