Filter a grid items as per the user role


I have a grid controlled by an “action-view”. The action-view has a domain condition.
In addition to that condition, I need to filter items as per the connected user role.
A user role has been created with permissions related to the entity to be shown in the grid. But the connected user got items filtered only by the action-view’s domain.
How can the permissions restriction defined by the role can be considered in adition to the action-view’s domain.


1 « J'aime »

It should filter by both domain and users’ permissions (or user’s group/role’s permissions).
Make sure there is no wildcard permission on package of the model used in action-view.

1 « J'aime »

Ce sujet a été automatiquement fermé après 30 jours. Aucune réponse n’est permise dorénavant.