Problem/Motivation

For flexibility and granular access control there should be a way to control features paragraph move up/down and add before/after in a separate way. Maybe create a permission for each action, or/and allow other modules to alter the access results.

Proposed resolution

Create separate permissions per each action or/and create hook/event for alter access results.

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

a.dmitriiev created an issue. See original summary.

a.dmitriiev’s picture

Title: Create separate permissions for adding and moving paragraphs or provide a way to alread the access results » Create separate permissions for adding and moving paragraphs or provide a way to alter the access results

a.dmitriiev’s picture

Status: Active » Needs review
alexortega_98’s picture

Status: Needs review » Needs work

The 'Access frontend editing' permission is actually allowing me to move paragraphs up and down, making the 'Move paragraphs up and down' permission useless

a.dmitriiev’s picture

Oooops, forgot to add the check for 'Move paragraphs up and down' permission. MR is updated

a.dmitriiev’s picture

Status: Needs work » Needs review
alexortega_98’s picture

Status: Needs review » Reviewed & tested by the community

Now it works like a charm, great job! Moving it to RTBC.

a.dmitriiev’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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