Skip to content

Issue 35310 block folder delete when not empty#35398

Open
riccardoruocco wants to merge 7 commits intodotCMS:mainfrom
riccardoruocco:issue-35310-block-folder-delete-when-not-empty
Open

Issue 35310 block folder delete when not empty#35398
riccardoruocco wants to merge 7 commits intodotCMS:mainfrom
riccardoruocco:issue-35310-block-folder-delete-when-not-empty

Conversation

@riccardoruocco
Copy link
Copy Markdown

Proposed Changes

  • add a config flag to block folder deletion when the folder or one of its descendants is not empty
  • keep the default behavior unchanged when the flag is disabled
  • update the user-facing i18n message

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (add notes if applicable)

Additional Info

This change is intentionally minimal and scoped to the existing folder delete action in the UI flow. It does not change backend delete APIs.

Screenshots

Updated
deleteButton
deleteToast

@riccardoruocco
Copy link
Copy Markdown
Author

I have agreed to the therms of the contributors agreements found here: https://gist.github.com/wezell/85ef45298c48494b90d92755b583acb3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants