I gave someone access to a site as a Writer. I watched them create several pages. At one point, they messed up and wanted to delete a page. When they went to delete a page, they got a "Request failed (error)" and it left them confused.
Steps to reproduce the issue
Log in to CleanSlate as a Writer (or "Act as" a user with Writer permissions).
If you're looking for a user to "Act As", here's one.
I gave someone access to a site as a Writer. I watched them create several pages. At one point, they messed up and wanted to delete a page. When they went to delete a page, they got a "Request failed (error)" and it left them confused.
Steps to reproduce the issue
DELETE!
) and confirm the page deletion.Results
A notification appears that says:
Expected results
Writers should not see the "Delete Page" button if they don't have permission to delete a page.
OR
The "Delete Page" button should be disabled. When they click it, they get a (bootbox) message that says:
Relevant files:
Related to #32