Details
-
Bug
-
Resolution: Fixed
-
High
-
2.3.1
-
None
Description
Steps to reproduce:
- Create new siteaccess, for instance, eng & nor.
- Add these siteaccesses to PageBuilder.
- Create two new sections, for instance, eng & nor.
- Create two folders under main node, eng & nor. Assing eng to eng section, and nor to nor section.
- Configure siteaccesses as following:
eng: languages: [eng-GB] content: tree_root: location_id: __location_of_folder_created_in_previous_step__ excluded_uri_prefixes: [ /media, /users ] nor: languages: [nor-NO] content: tree_root: location_id: __location_of_folder_created_in_previous_step__ excluded_uri_prefixes: [ /media, /users ]
- Create the new user group which has content/read permission for eng and standard section only. Add other required permissions like login for admin panel.
- Create a new user, add it to the newly created group.
- Try to login to the admin panel using the newly created account.
Result:
An exception has been thrown during the rendering of a template ("User does not have access to 'read' 'content'").
Expected result:
Admin Panel should be loaded properly. Entries in PageBuilder navigation, to which current user doesn't have permissions should not be displayed.