Description
Preconditions:
Existing article New article in eZ Platform
Steps:
1. Go to Admin/Role and modify Editor's role like this:
- Policies:
- User/Login
- User/Password
- Section/View
- Content/Reverserelatedlist
- Content/Read
- Content/Versionread
- Content/Publish
- Conten/Create
- State/Assign with limitations: Location /eZ Platform/New article
- Assingments
- Editors with no limitations
2. Add a user in Editors group
3. Log in as user from previous step
4. Go to eZ Platform/New article
Actual result:
Error 500 is thrown: An exception has been thrown during the rendering of a template ("Argument '$targets' is invalid: Must contain objects of type: Location"). State/Assign works fine without mentioned limitation.
Expected result:
User should be redirected to the chosen location.
These two stories should be included in retesting:
Given that I have the policy ‘State/Assign' with limitation 'Node/About' assigned to my User Group
When I access the details tab of ‘Blog’ content item
Then I don’t see the object state dropdown list and the ‘Set’ button
Given that I have the policy ‘State/Assign' with limitation 'Node/About ' assigned to my User Group
When I access the details tab of ‘About’ content item
Then I see a dropdown list with every object states and the ‘Set’ button
Attachments
Issue Links
- discovered while testing
-
EZP-29103 Implement permissions for Object State in Admin Panel
- Closed