Details
-
Bug
-
Resolution: Fixed
-
High
-
2.1.0, 1.13.2, 1.7.7
-
None
Description
When the Editor has Content/Edit Policy with Object State Limitation and creates a new Content Object using Admin UI, then after the first draft is saved (but not published; meaning the Editor clicked "Save" button), then clicking either "Publish" or "Save" button results in the following error:
AccessDeniedException
User does not have access to 'edit' 'content' with: contentId '56''
Steps to reproduce
- Create new eZ Platform installation.
- Create new User Group.
- Create new User in that User Group.
- Create new Role. Assign that Role to the created User Group.
- Assign following Policies to that Role:
- Content: Read
- User: Login
- Section: View
- Content: Edit (State: Lock:Not Locked)
- User: Password
- Content: Versionread
- Content: Create
- Content: Publish
- Content: Reverserelatedlist
- Login as the created User.
- In the Admin UI, navigate to "Content"->"Content Structure", click "Create" and select "Article".
- Fill in "Title" and "Intro".
- Click "Save". The draft will be successfully saved.
- After the draft is saved, click "Publish" or "Save". The error mentioned above will be shown.