Problem/Motivation
When trying to edit a group's menu's, the Edit button does not show up. However, if the URL to the edit page is visited directly, access is granted.
Steps to reproduce
Create a group and add a group menu to it. Configure permissions for a group role (not a Drupal role): Add "Access group content menu overview" and "Manage menu items"
Proposed resolution
Update the code to use the proper permissions for the operations.
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork group_content_menu-3492000
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
slydevil commentedComment #4
heddnCan we add tests for this?
Comment #5
heddnThis needs some tests.
Comment #6
tim-dielsI tested the flow and it works as expected. And I follow heddn for adding tests.
The code also needs to be applied to the 3.0.x branch. So that MR should need to be created also.
The code works for the 3.0.x branch as it is provided for the 2.0.x branch.