Merge pull request #4381 from owncloud/selectOnlyAvailableRoleForSpaceShare
[tests-only][full-ci]Select Available role only while sharing space
This commit is contained in:
@@ -437,7 +437,7 @@ Feature: copy file
|
||||
Scenario Outline: User copies a folder from space shares jail with different role to space project with role viewer
|
||||
Given the administrator has given "Brian" the role "Space Admin" using the settings api
|
||||
And user "Brian" has created a space "Project" with the default quota using the GraphApi
|
||||
And user "Brian" has shared a space "Project" to user "Alice" with role "<role>"
|
||||
And user "Brian" has shared a space "Project" to user "Alice" with role "viewer"
|
||||
And user "Brian" has created folder "/testshare"
|
||||
And user "Brian" has created folder "/testshare/folder1"
|
||||
And user "Brian" has uploaded file with content "testshare content" to "/testshare/folder1/testshare.txt"
|
||||
@@ -450,4 +450,4 @@ Feature: copy file
|
||||
Examples:
|
||||
| permissions |
|
||||
| 31 |
|
||||
| 17 |
|
||||
| 17 |
|
||||
|
||||
@@ -33,7 +33,7 @@ Feature: move (rename) file
|
||||
And user "Brian" has created a space "Project" with the default quota using the GraphApi
|
||||
And user "Brian" has created a folder "newfolder" in space "Project"
|
||||
And user "Brian" has uploaded a file inside space "Project" with content "some content" to "insideSpace.txt"
|
||||
And user "Brian" has shared a space "Project" to user "Alice" with role "<role>"
|
||||
And user "Brian" has shared a space "Project" to user "Alice" with role "viewer"
|
||||
When user "Alice" moves file "insideSpace.txt" to "newfolder/insideSpace.txt" in space "Project" using the WebDAV API
|
||||
Then the HTTP status code should be "403"
|
||||
And for user "Alice" the space "Project" should not contain these entries:
|
||||
|
||||
Reference in New Issue
Block a user