core icon indicating copy to clipboard operation
core copied to clipboard

Minor Bug in File Asset Publish - Fail Messaging

Open DeanGonzalez opened this issue 9 years ago • 1 comments

Minor Error messaging Bug

Just a small error in the text on why the publish on the file fails. Messaging says "Content Locked" when it should be stating that the "User lacks permissions to save/publish to the selected host/folder"

no permissions to save to host

To reproduce:

1) Add a new role and give it "View" and "Add Children" on the demo host, but no permissions on child objects underneath 2) Under the "All Sites" Permissions, give the role publish rights over all content types and only EDIT on Content/Files as shown in the image below.

permissionsettings

3) Login as a user with that role, and try to add a "file asset" and PUBLISH it to demo.dotcms.com. error says "Content Locked" instead of the real reason, which is:

"User lacks permissions to save/publish to the selected host/folder"

We should fix the messaging there.

screencast: https://screencast.com/t/LowSxeqqqFa

DeanGonzalez avatar Oct 16 '17 20:10 DeanGonzalez

Seems that permissions have changed and now there's a proper validation in place. image

acurionedotcms avatar Feb 26 '18 20:02 acurionedotcms