Add more granular document version permissions

Created on 28 August 2019, over 5 years ago
Updated 11 September 2024, 7 months ago

Problem/Motivation

Currently, there is only one administrative global permission to manage legal documents ("Administer legal documents"). It is a very wide permission that does not match to all particular use cases.

Proposed resolution

Add the following permissions for version management:

  • "Create new @document_id versions"
  • "Edit @document_id versions"
  • "Set current @document_id version"
  • "View unpublished @document_id versions"

The current "Administer legal documents" permission would remain as a global access admin permission, and would be the required permission to manage documents themselves (add, edit settings and delete documents, not versions).

Remaining tasks

TBD.

User interface changes

None expected.

API changes

None expected.

Data model changes

None expected.

Release notes snippet

TBD.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇪🇸Spain manuel.adan 🌌

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.

  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴

    I think this makes sense. Recently we've added a new "bypass entity legal acceptance" permission. It would make sense to have granular permissions

Production build 0.71.5 2024