ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Open-Source CRM software 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 Spurgeon 2 years, 3 months ago.

  • Creator
    Topic
  • #6772
    Spurgeon
    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

You must be logged in to reply to this topic.