OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions navigation menu

This topic contains 7 replies, has 2 voices, and was last updated by  fred33 7 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
  • #29116

    fred33
    Participant

    Hi,
    i have created a navigation.yml file in my bundle, my problem is that all user can see the new tab and i just want that only one specific group see this new tab. I work with acl and for the moment I just managed to prevent the execution of the twig behind the menu but not to hide the new tab in the navigation bar
    am i clear?????

    how can i do that??????

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #29117

    Mike Kudelya
    Participant

    Hi

    Please add aclResourceId option (in this case it is custom_bundle_acl_id) to our item, see the documentation, after that add this yml to Resources/config/acl.yml, something like this:

    clear cache and your resource will appear on edit role page on Application section. This applies to version 1.10.*

    #29118

    fred33
    Participant

    Sorry i was on holiday

    here’s what I’m doing
    navigation.yml

    al.yml

    clear cache and oro:navigation:init , but nothing happen….

    Thanks

    #29119

    Mike Kudelya
    Participant

    Hi

    Did you delete /app/cache/dev, /app/cache/prod directories ? After that, does “Custom Menu Visites” option appear on role edit page ?

    #29120

    fred33
    Participant

    I made it all but nothing works

    <After that, does “Custom Menu Visites” option appear on role edit page ?>

    I’m not very sure I understand what you mean

    #29121

    Mike Kudelya
    Participant

    When i have created new acl resource in acl.yml:

    this resource (“Custom Bundle Menu ACL”) should appear on roles edit page (System -> User Management -> Roles). Here is my resource. I can check/uncheck it and thereby menu should hiding and appearing.

    #29122

    fred33
    Participant

    Ok…..
    it works very well indeed

    #29123

    fred33
    Participant

    closed

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

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top