Issue with Image Upload for ELEMENT_AUTHOR Role

Ramon Gavira Sáenz via opencms-dev <[email protected]> Fri, 14 Jul 2023 11:49:38 +0000
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <AS8PR05MB8502B520CC9591146D484C02E234A@AS8PR05MB8502.eurprd05.prod.outlook.com>
We recently upgraded from version 10.5.4 to version 14 of OpenCMS and have encountered an issue related to image uploading for users with the ELEMENT_AUTHOR role.

Specifically, users with the ELEMENT_AUTHOR role are unable to upload images from galleries or directly from the content editing forms.

Upon investigating the issue further, we noticed a role check restriction in a JSP file (/system/workplace/commons/uploadAction.jsp) that requires users to have the editor role in order to perform the image upload. Removing this restriction allows users to upload files from that location, but we are uncertain about the implications of this change.

[cid:[email protected]]

Unfortunately, we have not been able to find any documentation regarding this specific behavior or any recommended configuration changes to address the issue.

Could you please provide us with some guidance? Has it been determined that users with the ELEMENT_AUTHOR role should not be able to upload images? Is there a configuration setting that can modify this behavior?

Regards

Ramón Gavira Sáenz

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev
image001.png (image/png, 28.4 KB) - not displayed