Details
-
Story
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
Description
Preconditions:
Two object states groups: Lock (Locked, Not locked) and Colours (red, green, blue).
Policies of the User:
- State/Assign with Limitations State: Lock:Locked
- User/Login
- User/Password
- Content/Read
- Content/Versionread
- Content/ Reverserelatedlist
Steps:
1. As an Admin set Content A as Lock:Not locked and Content B as Lock:Locked
2. Log in as a User from preconditions
3. Go to the Content A view - Details Tab - State details - both dropdown lists are disabled.
4. Go to the Content B view - Details Tab - State details - both dropdown lists are active.
Expected result:
Lock list should be active and Colour list - disabled.
Hint:
For now we use hasAccess() method which does not check limitations. We can not use canUser() check, because issue with 'targets'
Attachments
Issue Links
- discovered while testing
-
EZP-29103 Implement permissions for Object State in Admin Panel
- Closed