This topic contains 0 replies, has 1 voice, and was last updated by Spurgeon 9 years, 5 months ago.
- Topic
Hi,
Greetings!
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?
Thanks!
Warm regards
Spurgeon
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.