System information

  • Drupal Core Version: ^10.2 || ^11
  • Menu Migration Version: 4.0.0-alpha2
  • PHP Version: >= 8.1 && <=8.3

Problem/Motivation

Currently, the permissions that were ported from v3 and the ones that were added in v4 are not fully functional.

Steps to reproduce

1. Create a user
2. Assign him step by step the permissions and observe his access

Proposed resolution

The existing permissions should behave as follows:
1. administer menu migration -> Bypass any menu migration permission, and have access to everything.
2. administer menu migration export types -> Administer Export Types: add, edit, delete, export.
3. administer menu migration import types -> Administer Import Types: add, edit, delete, export.
4. perform export on menu migrations -> Access to the Export Types page and perform exports.
5. perform import on menu migrations -> Access to the Import Types page and perform imports.

Note: These permissions should be enough for a future stable release, but if at any point in time there's a need for more detailed permissions (e.g. export by entity, export by destination, edit at entity level etc.) feel free to open a new issue.

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

bbu23 created an issue. See original summary.

bbu23’s picture

Issue summary: View changes
Status: Active » Needs review

  • bbu23 committed 77adf548 on 4.0.x
    Issue #3463185 by bbu23: Clean up permissions & adjust access
    
bbu23’s picture

Status: Needs review » Fixed

The issue will be included in version 4.0.0-beta1.
Added change logs.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

bbu23’s picture

Assigned: bbu23 » Unassigned