Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like users to be able to add content to a menu, but I would not like them to be able to administer the whole menu. I've been browsing the source code and as far as I can see this is not possible. Am I missing something? If not - is it really a common use case to let all users administer the menu in order for them to add content?
If it is not a common use case I would be willing to write a patch.
Comments
Comment #1
rv0 CreditAttribution: rv0 commentedYou can grant "administer og menu" permission in the group context (there is both a global and og permission)
that way only members of the group with the og role that have the needed permission can add items to menu.
Also edit the content type menu settings to enable it for use with og menu.
If you want them to add items to the menu, but not administer that menu, this is not possible.. It is also not possible in Drupal core.
Let me know how it turns out
Comment #2
jseffel CreditAttribution: jseffel commentedYou are right - haven't noticed it before but with that permission users are able to access admin/structure/menu.