Files
ocis/tests/acceptance/features/cliCommands/listUnifiedRoles.feature
Julian Koberg ee264345ca feat(graph): [OCISDEV-807] add SpaceEditorWithoutVersionsWithoutTrashbin role
Adds a new space membership role "Can edit" that allows creating, uploading,
downloading, editing, moving and deleting on a space without access to file
versions or the trashbin. Also bumps reva to include the corresponding role
constructor.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-04-27 09:23:36 +02:00

30 lines
3.1 KiB
Gherkin

@env-config
Feature: List unified roles
As an administrator
I want to list all available unified roles
So that I can check which roles exist, their permissions, and their status
@issue-11254
Scenario: List unified roles with expected fields
When the administrator lists all the unified roles using the CLI
Then the command should be successful
And the command output should include the following roles:
| LABEL | ENABLED | DESCRIPTION |
| Viewer | enabled | View and download. |
| ViewerListGrants | disabled | View, download and show all invited people. |
| SpaceViewer | enabled | View and download. |
| Editor | enabled | View, download, upload, edit, add and delete. |
| EditorListGrants | disabled | View, download, upload, edit, add, delete and show all invited people. |
| EditorListGrantsWithVersions | disabled | View, download, upload, edit, delete, show all versions and all invited people. |
| SpaceEditor | enabled | View, download, upload, edit, add, delete, show all versions and restore from trash bin. |
| SpaceEditorWithoutVersions | disabled | View, download, upload, edit, add, delete and restore from trash bin. |
| SpaceEditorWithoutTrashbin | disabled | View, download, upload, edit, add and show all versions. |
| SpaceEditorWithoutVersionsWithoutTrashbin | disabled | View, download, upload, edit, add and delete. |
| FileEditor | enabled | View, download, upload and edit. |
| FileEditorListGrants | disabled | View, download, upload, edit and show all invited people. |
| FileEditorListGrantsWithVersions | disabled | View, download, upload, edit, show all versions and all invited people. |
| EditorLite | enabled | View, download, upload, edit and add. |
| Manager | enabled | View, download, upload, edit, add, delete, show all versions, restore from trash bin, empty the trash bin and manage members. |
| SecureViewer | disabled | View only documents, images and PDFs. Watermarks will be applied. |
| Denied | disabled | Deny all access. |