We managed to tweak datagrids by editing Resources/config/datagrid.yml of relevant bundle.
However this affects all users.
We need a Role based view where Admin Gets to see more fields and a given role gets to see lesser no. of fields.
How can this be implemented in YML. I read that symfony has credentials: hasRole(‘xyz’) option. but this doesnt seem to work for me in Oro.
Similarly, we also need Menu visibility based on Role. We could hide a menu using ‘display: false’ in navigation.yml, but dont know how to do this role specific.
Could you kindly help / point me to resources to do this?
You must be logged in to reply to this topic.