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

Command icon 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

slydevil created an issue. See original summary.

slydevil’s picture

Status: Active » Needs review
heddn’s picture

Issue tags: +Needs tests

Can we add tests for this?

heddn’s picture

Status: Needs review » Needs work

This needs some tests.

tim-diels’s picture

I 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.