Legacy Knowledge Base
Published Jul. 2, 2025

The user('s) to whom "view only site role" permission assigned is able to upload document

Written By

Thanga Meena

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Logged in as a user to whom "view-only site role" assigned. The add "+" button is available to the user to upload the document.

Environment

  • Liferay DXP 7.0, 7.1, 7.2

Resolution

  • Go to the site [Ex: Site1], navigate to Content / Document and media
  • On the upper right of the Document and media, click on the 3 dots  ellipsis button
  • Select the "Home Folder Permissions" option. In this, check the Site Member role privileges and deselect the permission you are not looking for. 
  • For example: uncheck the "Add Shortcut", "Add Document", "Add Folder", "Add Metadata Set" options. 
  • Note: Please make sure that you have unchecked the "Add Shortcut" option
  • Save the configuration.
  • With the above configuration, the "+" button is not available to the user to whom the "view-only site role" assigned. And the user to whom assigned as "site owner role" is able to add the document by clicking the plus icon.

Reference:

Before configuring the suggested steps:

1_Issue_reproduced.png

plus_icon_-_page.png

Configuration changes

2_Home_folder_permission.png

3_config.png

After updating the configurations:

Plus_icon_is_not_available.png

plus_icon_is_not_available.png

 

Note: Please find the attachment for the video demonstartion

Did this article resolve your issue ?

Legacy Knowledge Base