Restrict element deletions
This plugin can prevent deletion of elements (entries, assets, categories, products and users) if they are referenced in other elements.
The idea is taken from the plugin Restrict Asset Delete, improved to apply to all elements, and made Craft 4 ready.
You will need to define policies for each section/volume/category groups and users in the settings, there are 4 policies :
- Do not restrict
- Restrict all : Prevent deletions when the element is referenced in another element, in drafts and revisions also
- Restrict all but revisions : Same as above but not in revisions
- Restrict all but drafts : Same as above but not in drafts
- Restrict all but drafts and revisions : Same as above but not in drafts or revisions
- Installation Instructions
To install this plugin, copy the command above to your terminal.
- Active Installs
- Last release
- November 16, 2022
- Activity (30 days)
- 0Closed Issues0Open Issues0Merged PRs0Open PRs