Drupal Answers Asked by mavicc on November 26, 2020
When I create a content type, e.g. ‘Basic Page’ and I want to add a link to a menu I do usually the following:
Menu settings -> Provide a menu link -> choose a menu and its position of the link there
I know, that I can define, which menus are appearing here, in the menu settings section of a content type.
I have several menus, for specific users. For now, if they create a new ‘Basic Page’ they see all the menus, which are set for this content type. So as well, menus from other users. Is it possible to show just their own menu, so they do not have access to the other menus?
For now I solve this problem by assigning roles for each individual user, and granting permissions for this ‘user role’ per ‘user menu’, by using the Menu Admin per Menu module for D7. It would be much more convenient, to use user specific permissions here.
Is there any way, of doing that?
Thank you in advance!
This module does two things:
- It allows for the permission used to access any menu item on the system to be overridden.
- It allows for custom permissions (see hook_permission()) to be created through the admin interface. These permissions can be used the same as any permissions created in a module using hook_permission() - ie in modules, templates, and in hook_menu() callbacks.
Answered by Adi on November 26, 2020
Check this Menu Per User and let me know if you face any issues.
Answered by Ajay Reddy on November 26, 2020
1 Asked on January 6, 2022 by billyjoe
1 Asked on January 6, 2022 by bb2j3z
2 Asked on January 4, 2022 by philipp-michael
1 Asked on January 2, 2022 by cocoskin
1 Asked on January 2, 2022
1 Asked on January 2, 2022 by tyler-frankenstein
1 Asked on December 31, 2021 by toptomato
2 Asked on December 31, 2021 by drii7
1 Asked on December 31, 2021 by ashutoshsngh
0 Asked on December 31, 2021
1 Asked on December 31, 2021
1 Asked on December 28, 2021 by kevindeleon
1 Asked on December 28, 2021 by i-am-batman
1 Asked on December 28, 2021 by bapafe
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP