Allow specific schemes to be applied to certain roles

Created on 29 June 2018, almost 6 years ago
Updated 7 May 2024, about 2 months ago

We have a requirement where a section does not apply to a specific role, but two schemes apply to two different roles, but affecting the same content type.

Steps to recreate:

  • Create a content type
  • Allow that content type to be added to two different menus
  • Add two access schemes one for each menu
  • Assign users to either of the access schemes

Expected result:

  • If they have been approved by one access scheme they should be able to edit the content

Actual result:

  • If they have been denied by one access scheme they cannot edit the content

This is absolutely not a bug, and is fully expected behaviour as the deny would always override the neutral result. Its just in our use case where the two schemes apply separately.

I was looking to extend workbench access with this functionality if it would be of benefit and within the scope of this module through a submodule.

In order to make this work we'd need the schemes themselves to be able to be altered by another module.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom andy_w

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.

Production build 0.69.0 2024