ssossossosso

Forums

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

This topic contains 7 replies, has 2 voices, and was last updated by  fred33 1 year ago.

  • Creator
    Topic
  • #23652

    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
  • #23713
    Mike Kudelya
    Mike Kudelya
    Oro Core

    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.*

    #24147

    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

    #24153
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

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

    #24163

    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

    #24164
    Mike Kudelya
    Mike Kudelya
    Oro Core

    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.

    #24167

    fred33
    Participant

    Ok…..
    it works very well indeed

    #24290

    fred33
    Participant

    closed

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

You must be logged in to reply to this topic.