Skip to content

Commit

Permalink
[Behat] Restricted content/read policy for the AddLocation user (#107)
Browse files Browse the repository at this point in the history
* [Behat] Restricted content/read policy for the AddLocation user

* Workaround the landing page CT
  • Loading branch information
mnocon authored Jan 31, 2024
1 parent f296ae3 commit 3dc6022
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions features/personas/add_location.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ Feature: Editor user that has policies with Content Type limitation
And I create a user group "AddLocationGroup"
And I create a user "Add" with last name "Location" in group "AddLocationGroup"
And I create a role "AddLocationRole" with policies
| module | function |
| user | login |
| content | read |
| module | function |
| user | login |
And I add policy "content" "read" to "AddLocationRole" with limitations
| limitationType | limitationValue |
| Content Type | article,folder |
And I add policy "content" "read" to "AddLocationRole" with limitations
| limitationType | limitationValue |
| Location | root |
And I add policy "content" "create" to "AddLocationRole" with limitations
| limitationType | limitationValue |
| ContentType | Article |
Expand Down

0 comments on commit 3dc6022

Please sign in to comment.