Skip to content

Conversation

ViniciusCestarii
Copy link

This PR enhances the page deletion logic to support ownership-based access control in addition to role-based permissions.

  • Allows users to delete a page if they are the original author and have write:pages permission for that page's locale/path.
  • Users with explicit delete:pages permission for the page still retain full deletion rights.

Why

This change supports a more intuitive and flexible permission model:

  • Empowers content authors to manage (delete) their own work without requiring broader delete permissions.

@auto-assign auto-assign bot requested a review from NGPixel May 23, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants