Provide more granular permissions

Created on 18 February 2019, almost 6 years ago
Updated 9 September 2024, 3 months ago

Problem/Motivation

Currently there is one permission that handles all access. It would be helpful if we could at least have two permissions. One for global settings and one for editing individual settings for entities.

We should also discuss how fine grained the permissions should be. F.E. we can have permissions generated with a permission callback for every entity enabled?

Proposed resolution

For now split up the global permission on two permissions. One for global settings and one for editing individual entity sitemap's settings.

Remaining tasks

Discuss if the provided patch is satisfactory or if we should create a fine grained permission solution.
Add new tests and/or change current tests depending on the decision.

User interface changes

New permissions will appear in the permissions overview.

API changes

None.

Data model changes

None.

Release notes snippet

None.

Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

🇧🇪Belgium stefdewa

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