Closed (fixed)
Project:
Workspaces Extra
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2023 at 09:51 UTC
Updated:
21 Feb 2023 at 15:24 UTC
Jump to comment: Most recent
Given an node is being edited inside workspace, or in other words has an active revision inside a workspace, it is currently still possible to delete it via the delete action on the content overview. Via the delete operations link, this does not work, thus the action shouldn't be allowed to delete a node or any entity that's being inside a workspace either.
On vanilla Drupal 9 or 10
Delete contentApply to selected items and confirm in the next stepResult: Content will get deleted.
Implement form altering for the DeleteMultipleForm to make sure, deleting via the action is not possible if
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
s_leu commentedLooking at this a bit more, it turned out that overriding the DeleteAction plugin was easier than altering the form.
Comment #4
s_leu commentedComment #5
s_leu commentedComment #8
amateescu commentedMerged into 1.0.x, thanks!