OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions Role based ACL for Datagrids / Menus

This topic contains 0 replies, has 1 voice, and was last updated by  Spurgeon 9 years, 5 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #24916

    Spurgeon
    Participant

    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.

Back to top