-
Notifications
You must be signed in to change notification settings - Fork 168
/
Copy pathadminBlocksUser.feature
28 lines (26 loc) · 1.18 KB
/
adminBlocksUser.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Feature: view profile
As an admin
I want to be able to disable a user
So that I can remove access to files and resources for a user, without actually deleting the files and resources
@openIdLogin
Scenario: the user session of a blocked user is cleared properly
Given these users have been created with default attributes:
| username |
| Alice |
And user "Alice" has logged in using the webUI
And the user has browsed to the files page
And user "Alice" has been blocked by admin
When the user reloads the current page of the webUI
Then the user should be redirected to the login error page
When the user exits the login error page
Then the user should be redirected to the login page
@oauthLogin @notToImplementOnOCIS
Scenario: the user session of a blocked user is cleared properly
Given these users have been created with default attributes:
| username |
| Alice |
And user "Alice" has logged in using the webUI
And the user has browsed to the files page
And user "Alice" has been blocked by admin
When the user reloads the current page of the webUI
Then the user should be redirected to the user disabled page