extend webdav tests for old, new and spaces path
This commit is contained in:
@@ -5,7 +5,7 @@ Feature: enforce password on public link
|
||||
So that the password is required to access the contents of the link
|
||||
|
||||
Password requirements. set by default:
|
||||
| OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD | true |
|
||||
| OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD | true |
|
||||
| OCIS_PASSWORD_POLICY_MIN_CHARACTERS | 8 |
|
||||
| OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS | 1 |
|
||||
| OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS | 1 |
|
||||
|
||||
@@ -8,7 +8,8 @@ Feature: unassign user role
|
||||
|
||||
|
||||
Scenario Outline: admin user unassigns the role of another user
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And the administrator has assigned the role "Admin" to user "Alice" using the Graph API
|
||||
And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
|
||||
When user "Alice" unassigns the role of user "Brian" using the Graph API
|
||||
@@ -17,11 +18,19 @@ Feature: unassign user role
|
||||
When user "Brian" uploads file with content "this step will assign the role to default" to "assign-to-default.txt" using the WebDAV API
|
||||
And user "Brian" should have the role "User" assigned
|
||||
Examples:
|
||||
| user-role |
|
||||
| Admin |
|
||||
| Space Admin |
|
||||
| User |
|
||||
| User Light |
|
||||
| user-role | dav-path-version |
|
||||
| Admin | old |
|
||||
| Space Admin | old |
|
||||
| User | old |
|
||||
| User Light | old |
|
||||
| Admin | new |
|
||||
| Space Admin | new |
|
||||
| User | new |
|
||||
| User Light | new |
|
||||
| Admin | spaces |
|
||||
| Space Admin | spaces |
|
||||
| User | spaces |
|
||||
| User Light | spaces |
|
||||
|
||||
@issue-6035
|
||||
Scenario: admin user tries to unassign his/her own role
|
||||
|
||||
Reference in New Issue
Block a user