Limited visibility on datagrid

How do you limit the visibility of a datagrid for each user role? The different users should still have access to the datagrid but the visibility for them should be limited based on the value of an association shown in the datagrid that coincides with an association of the user.
1 answers

use entity access to tell mendix which userroles can read/write attributes on that entity and in which cases the entity records will be visible.