To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorAdmin Layout Management Features user with editor role
- Background Login create default site
-
- Given
- the site "foobar" exists with the domain "example.com"
- And
- the user "baz" exists with the role of "admin" in the site "foobar.example.com"
- And
- the user "ak730" exists with the role of "editor" in the site "foobar.example.com"
- And
- I authenticates as cas user "ak730"
- Scenarios
-
- Editor cannot view layouts
- Should not be able to access site the user is not associated with
- Editor cannot create layouts
- User with the role editor cannot edit layouts
- Editor cannot view layouts
-
- Given
-
these layouts exist in the site "foobar.example.com" created by user "baz"
name content foobar Hello, World! bar Hello, World! - When
- I go to the admin layouts page
- Then
- I should see "403"
- Should not be able to access site the user is not associated with
-
- Given
- the site "baz" exists with the domain "example.dev"
- When
- I go to the admin layouts page
- Then
- I should see "403"
- Editor cannot create layouts
-
- When
- I go to the new admin layout page
- Then
- I should see "403"
- User with the role editor cannot edit layouts
-
- Given
-
these layouts exist in the site "foobar.example.com" created by user "baz"
name content foobar Hello, World! bar Hello, World! - When
- I edit the layout "foobar"
- Then
- I should see "403"
Last published over 7 years ago by amkirwan.