How to use userroles constraints with Xpath in a datagrid

0
Is it possible to set different Xpaths on a single datagrid depending on the userrole of the currentuser? I.E. If userrole = admin then show all or if userrole = basic then show a selection
asked
2 answers
1

Nope. But this sounds like something that should be achieved by using security.

answered
0

See this question for an answer on how to set rights based on the user login role. You need something that determines what you can see though, so a boolean adminOnly on which you can check what items to see.

As far as i know there currently is no way to directly set different xpath rules on a datagrid based on the login role.

answered