Access does not check for admin permission

Created on 2 April 2025, 4 days ago

Problem/Motivation

In \Drupal\group_action\Plugin\Action\GroupActionBase::access there are permission checks for any and own. But if both return false, the user could still have the admin permission for that permission provider inside the group. This is not about the global admin role outside the group, it is a special admin permission for the current type of relationships.

Proposed resolution

Add the check for the admin permission.

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024