-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-580: Added deleted location limitation role access scenario #1799
Conversation
PR for 3.3: #1800 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole Scenario is run as admin, maybe it should not be added to the personas suite and should in included in the Roles.feature file?
Something like:
Given I create "folder" Content items in root in "eng-GB"
| name | short_name |
| DeletedLocation | DeletedLocation |
And I create a role "DeletedLocationRole"
And I add policy "content" "read" to "DeletedLocationRole" with limitations
| limitationType | limitationValue |
| Location | /DeletedLocation |
And I send "/DeletedLocation" to the Trash
When I am logged as "admin"
And I go to "Roles" in "Admin" tab
And I go to "DeletedLocationRole" "Role" page
Then I should be on "Role" "DeletedLocationRole" page
should work and does not need to be split into two phases (setup & execution).
d17dd36
to
3c577d8
Compare
Applied in 3c577d8. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
PR to 3.3 (#1800) is now updated. Please have a look. |
3c577d8
to
395e78c
Compare
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Test checking whether it is possible to access a role that has a policy with a location limitation pointing to a location that has been deleted.
Checklist:
$ composer fix-cs
)