You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After implementing Row-level role predicate policy for a dedicated Entity which avoids all actions (Create, Read, Update, Delete) for the user, who has got all Resource-level permissions on the same Entity -> Jmix blocks all buttons in runtime except Create.
Steps To Reproduce
Create a Resource-level with all permissions for the Entity
Create a Row-level Predicate Policy avoiding all actions for the same Entity like the following:
RowLevelPolicyAction.CREATE cannot be applied to CreateAction because it creates a new entity and opens it in a detail view, i.e. there is nothing to check yet. In other words RowLevelPolicyAction.CREATE checks commit attempt instead of creating a new Java instance.
Environment
Jmix version: <2.2.2>
Bug Description
After implementing Row-level role predicate policy for a dedicated Entity which avoids all actions (Create, Read, Update, Delete) for the user, who has got all Resource-level permissions on the same Entity -> Jmix blocks all buttons in runtime except Create.
Steps To Reproduce
Expected Behavior
All buttons should be blocked
The text was updated successfully, but these errors were encountered: