Skip to content

backdrop-contrib/content_moderation_access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content Moderation Access

Limits node edit and delete access based on moderation state and user roles.

Description

This module provides a way to define multiple access rules for moderated content. When this module is enabled, access to update (edit) or delete moderated nodes is denied by default unless a rule explicitly allows it for the user's role and the current moderation state of the node.

Each rule allows you to specify:

  • Roles: Which user roles this rule applies to.
  • Allowed States: In which moderation states the selected roles are allowed to perform the operations.
  • Operations: Which operations (Edit, Delete) are allowed by this rule.

Installation

  1. Enable the module.
  2. Ensure you have the content_moderation module enabled and configured for some content types.
  3. Configure the rules at Configuration > Content Authoring > Content Moderation > Access by state (admin/config/content/moderation/access).

Configuration

The configuration page allows you to add as many rules as needed. Rules are evaluated independently; if any rule matches the user's role, the operation, and the current state, access is granted.

Administrators with the "administer nodes" permission or User 1 always bypass these restrictions.

About

Limits node edit and delete access based on moderation state and user roles with multiple rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors