Support group_content_menu module

Created on 16 November 2021, over 3 years ago
Updated 4 September 2023, over 1 year ago

Problem/Motivation

While working on 🐛 Menu item edit translation permission Needs work we've found menu_admin_per_menu is cleaning the "parent link" field on menu links, because it checks permissions for non-administrators. In fact, any users won't never have permissions for administer the group_content_menus because those permissions are managed by group and there aren't any related site level permission.

Steps to reproduce

  • Install and configure the following modules:
    • group
    • group_content_menu
    • menu_admin_per_menu
  • Create a group, a menu in that group, and a group member with permissions to administer that group
  • The group administrator user can CRUD the menu links but when accessing to the menu edition form will find a empty select for the "parent link" field

Proposed resolution

Skip the options cleanup if the menu name starts with "group_menu_link_content-"

Remaining tasks

  • Patch
  • Review
  • Test

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇪🇸Spain akalam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024