I would like to add a new permission to the menu system. I would propose calling it "Add Menu Items". This would allow users to use the menu form which appears on the node editing page, but not administer menus using admin/menus and admin/settings/menus - which the current permission (Administer Menus) does.

Would you consider implementing this into the core at this stage if I wrote the code? It would only be a short patch, I think.

CommentFileSizeAuthor
#2 menu_25.patch1.15 KBsimon rawson
#1 menu_24.patch936 bytessimon rawson

Comments

simon rawson’s picture

Status: Active » Needs review
StatusFileSize
new936 bytes

So, it took me about 30 seconds to work this one out.

Here is a patch, it would be lovely if you would consider committing it to 4.7... would be very useful!!!

Simon

simon rawson’s picture

StatusFileSize
new1.15 KB

Oops... wrong patch.

This one works :-p

tclineks’s picture

The form_alter conditional should allow if you have either permission ( 'administer menu' should encompass 'add menu item').

Richard Archer’s picture

Status: Needs review » Closed (duplicate)

This is a duplicate of http://drupal.org/node/38777

If you want this feature to be implemented in 4.7, review and vote for that other patch.