ssossossosso

Forums

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

This topic contains 3 replies, has 3 voices, and was last updated by Artem Liubeznyi Artem Liubeznyi 1 year, 2 months ago.

  • Creator
    Topic
  • #20794
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Hi

    It would be great if we can arrange menu items for each role differently. Apart from ACL settings, sometimes we need to show navigation items to certain roles while hiding them from others. Being able to rearrange menu items is also very good, but of less importance.

    Do you think you will be providing this feature in near future?

    Also providing different widgets to different roles would be a nice feature.

    Best,
    Ahmad

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #20800
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello.

    > It would be great if we can arrange menu items for each role differently.
    This approach has small issue – user might have several roles, and if they have different settings then it will not be clear how to handle such behaviour. E.g. Sales Manager have to see Reports section in the Sales submenu, Administrator have to see it in the root menu and Operator should not see it at all – is user has all three roles then it’s not clear if this menu item should be rendered and where it should be rendered.

    I believe this case should be handled in the specific instance (e.g. if you have restriction that user might have only one role).

    > Do you think you will be providing this feature in near future?
    We have Navigation menu management in our roadmap.

    > Also providing different widgets to different roles would be a nice feature.
    You can handle it using ACL permissions. You can use acl widget option to allow or disallow some roles to use some widgets. You can either use existing permissions (like VIEW for some entity), or create custom capability for each widget.

    #20801
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Thanks for your reply. It was very helpful.

    Regarding roles, you are right. Re-arranging items cannot work as a person may have several roles. But we can limit the functionality to show/hide menu-items. This way for a person with several roles we can have union of all items s/he has access to. This will only be useful to make user’s menu tidier, for example hiding reports s/he does not need even if s/he has access to.

    We may go on and implement this. If it became something clean and useful we will send a pull request.

    Best,
    Ahmad

    #21526
    Artem Liubeznyi
    Artem Liubeznyi
    Oro Core

    Hi Ahmad,

    As Yevhen said, menu management is indeed in our roadmap, and under the current plans we would like to ship it within the next release (2.0) in the autumn. However, this feature is not of the highest priority and release scope and schedule are pretty tight so delivery of this particular item might be delayed.

    I will be updating our release plans on both website and GitHub soon, please check them in a month or so. Or just bump this topic up.

    And of course if you are willing to contribute it in a pull request, this would help us tremendously.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.