#107408Delete page with CEs as non-admin throws 'Attempt to delete record without delete-permissions.'
Description
When I delete a page as a non-admin via context-menu (either in page-tree or in page-module)
the error ‘Attempt to delete record without delete-permissions.’ is shown.
The page gets deleted but not its content-elements, they still exists in the tt_content database without a deleted flag.
Reproduce
- With styleguide extension created the “styleguide frontend demo” test pages
- Created BE-user (editor)
- Switch to BE-user
- Create test page
- Created content-element
- Delete complete page via context-menu (right click)
Result:
> ‘Attempt to delete record without delete-permissions.’
A page with no content-elements can be deleted successfully, without any error.
The CE can be deleted if you only try to delete a placed element individually.