Merge pull request #9972 from owncloud/tests-editor-without-versions

[tests-only][full-ci] add tests for new role space editor without versions
This commit is contained in:
Prashant Gurung
2024-09-10 09:58:01 +05:45
committed by GitHub
5 changed files with 65 additions and 47 deletions
@@ -2248,7 +2248,6 @@ Feature: Send a sharing invitations
| Space Viewer | role not applicable to this resource |
| Space Editor | role not applicable to this resource |
| Manager | role not applicable to this resource |
| Co Owner | Key: 'DriveItemInvite.Roles' Error:Field validation for 'Roles' failed on the 'available_role' tag |
Scenario Outline: try to send share invitation with different re-sharing permissions
@@ -164,3 +164,14 @@ Feature: checking file versions using file id
| source | destination |
| / | folder/ |
| folder/ | / |
@env-config
Scenario: check the versions of a file in a shared space as editor without versions role
Given the administrator has enabled the permissions role "Space Editor Without Versions"
And user "Alice" has sent the following space share invitation:
| space | Project1 |
| sharee | Brian |
| shareType | user |
| permissionsRole | Space Editor Without Versions |
When user "Brian" gets the number of versions of file "/text.txt" using file-id path "/meta/<<FILEID>>/v"
Then the HTTP status code should be "403"