Permissions for content moderation not working as expected

Created on 28 July 2021, over 3 years ago
Updated 16 November 2023, over 1 year ago

Problem/Motivation

All users have access to ALL transitions despite set permissions. A user with a group role of "contributor" can use all of the content moderation transitions when they should only be allowed "draft" and "needs review."

Steps to reproduce

I have created a POC Drupal site with the minimal set of modules to demonstrate the issue.
https://github.com/shelane/group_moderation

Proposed resolution

If anyone is able to clone the repo above and see what permissions that I have set that are causing the behavior to be incorrect. If you are a Docksal user, it should be very straight forward following the steps in the readme file. If not, the commands to set up the site can be manually executed if you look in the .docksal/commands file.

πŸ’¬ Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shelane

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States shelane

    With Group 2, Flexible permissions, and Group Content Moderation 2-beta1, I can get this to work now. Group permissions are able to grant "new" permissions that don't exist as part of the Drupal user role, so users can have permissions to transitions solely provided in the Group permissions.

Production build 0.71.5 2024