Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
dev-master
-
None
Description
Steps:
1. Create a role with these permissions:
- User/Login
- User/Password
- Content/Read
- Content/Create
- Content/Versionread
2. Create a user and assign it with no limitations to the role from previous step
3. Log in as the user from step 2.
4. Go to Content/Content structure and click Create
5. Choose article and fill required fields
6. Click Save
7. As an Admin remove from the role from step 1 policy: Content/Versionread
8. Log in to the application as user from step 2
Actual result:
After logging in, an error is shown:
An exception has been thrown during the rendering of a template ("User does not have access to 'versionread' 'content'").
loadContentDrafts() method requires Content/Versionread policy
Expected result:
To keep consistency Drafts tab on dashboard could be hidden