Skip to content
Snippets Groups Projects
Commit 413c7f8c authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3062235: Optimize permissions for default user roles

parent e97cda07
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ Scenario: Check if a site admin user can NOT masquerade as any user. ...@@ -134,7 +134,7 @@ Scenario: Check if a site admin user can NOT masquerade as any user.
And I wait And I wait
Then I should see "Masquerade as test_authenticated" Then I should see "Masquerade as test_authenticated"
# Check if a site admin user can NOT masquerade as an Editor user. # Check if a site admin user can masquerade as an Editor user.
When I go to "/admin/people" When I go to "/admin/people"
And I wait And I wait
And I fill in "test_editor" for "Name or email contains" And I fill in "test_editor" for "Name or email contains"
...@@ -143,9 +143,9 @@ Scenario: Check if a site admin user can NOT masquerade as any user. ...@@ -143,9 +143,9 @@ Scenario: Check if a site admin user can NOT masquerade as any user.
Then I should see "test_editor" Then I should see "test_editor"
When I click "test_editor" When I click "test_editor"
And I wait And I wait
Then I should not see "Masquerade as test_editor" Then I should see "Masquerade as test_editor"
# Check if a site admin user can NOT masquerade as a content admin user. # Check if a site admin user can masquerade as a content admin user.
When I go to "/admin/people" When I go to "/admin/people"
And I wait And I wait
And I fill in "test_content_admin" for "Name or email contains" And I fill in "test_content_admin" for "Name or email contains"
...@@ -154,7 +154,7 @@ Scenario: Check if a site admin user can NOT masquerade as any user. ...@@ -154,7 +154,7 @@ Scenario: Check if a site admin user can NOT masquerade as any user.
Then I should see "test_content_admin" Then I should see "test_content_admin"
When I click "test_content_admin" When I click "test_content_admin"
And I wait And I wait
Then I should not see "Masquerade as test_content_admin" Then I should see "Masquerade as test_content_admin"
@javascript @check @local @development @staging @production @javascript @check @local @development @staging @production
Scenario: Check if a content admin user can NOT masquerade as the super user (UID 1) "webmaster". Scenario: Check if a content admin user can NOT masquerade as the super user (UID 1) "webmaster".
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment