Problem/Motivation
We use this module in combination with menu_admin_per_menu. We use the menu_admin_per_menu module to simplify the UI for site editors; they can add/reorder/remove menu items, but cannot change menu configuration.
Menu Item Extra adds a "Clear related data" link to menu forms (to make uninstalling easy). We've found this link to be confusing for site editors.
Proposed resolution
Only display the "Clear related data" link to users with the "administer menu" permission.
Remaining tasks
(reviews needed, tests to be written or run, documentation to be written, etc.)
User interface changes
The "Clear related data" link is only displayed to users with the "administer menu" permission.
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3037983-2.patch | 521 bytes | casey |
Comments
Comment #2
casey commentedComment #3
ozinHi @casey
I think will be better to fix permission for the route `entity.menu.clear_extra_data` in the route file, what do you think?
Comment #4
volegerComment #5
volegerComment #7
ozin