Provide granular permissions for restoring and purging

Created on 2 November 2023, about 1 year ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

Provide granular permissions for restoring and purging.

"Moving to trash" (deleting) is based on the core delete permissions.
We want to provide granular permissions for restoring and purging.

To consider: If we implement Add posibility to empty trash with time period Fixed , the purging permissions will be ignored. That should be disabled by default, and the settings page should be very clear about the consequences of enabling that.

Proposed resolution

Provide permissions for "purge $entity_id entities" and "restore $entity_id entities" and use that instead of "access trash" for those operations.

Remaining tasks

MR. Tests.

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024