Enforce Revision
7 sites
Security covered
This module ensures that specific user roles are required to create new revisions when editing certain content types. It can either disable the "Create new revision" checkbox or hide it entirely for these users, preventing accidental or intentional skipping of revision creation.
This module enforces revision creation for content types based on user roles and bundles.
Features
- Role-based enforcement: Configure which user roles must create revisions for specific content types
- Bundle-specific settings: Different enforcement rules for different content types
- Flexible UI options: Choose to disable the checkbox or hide it completely
- Form integration: Automatically modifies the "Create new revision" toggle for restricted users
- Entity-level enforcement: Ensures revisions are created even if form manipulation is attempted
Configuration
1. Navigate to Configuration > Content authoring > Enforce Revision Settings
2. For each content type you want to configure:
- Check "Enable revision enforcement"
- Select the user roles that should be restricted
- Optionally check "Hide revision checkbox entirely" to completely remove the UI element
3. Save the configuration