Permission granularity by content type

Created on 16 August 2022, about 2 years ago
Updated 22 March 2024, 6 months ago

Problem/Motivation

My client does not trust the lesser admins fully, but understands a need for faster edits on Event types. He requested that we make a role with permissions to break locks on only Event node types but not others. The module did not yet support this.

Steps to reproduce

Look at the permission page, and the permissions for Content Lock are global, all or nothing.

Proposed resolution

Mimic (plagiarize) the Node module's permission arrangement to get dynamic permissions by content type. Then augment permission checks to look at global first, specific second.

Remaining tasks

Test and verify the patch, or rewrite it to be better.

User interface changes

More options in the Permissions page.

✨ Feature request
Status

Needs work

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States developerweeks

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.71.5 2024