Custom site/organizational role gives too many permissions
Written By
Alexandra Rujzam
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
I have created a custom site/organizational role to see Document and Media contents. I only selected VIEW options in Define Permissions > Site Administration > Content > Documents and Media, but the user is able to add documents/folders which is undesirable behaviour.
Resolution
Since the Test User is a part of the Site/Organization, which the custom role belongs to, they automatically inherit the “Site Member” role, that includes additional permissions. It turns out that this issue is caused by the site member having “add” permissions on the home folder in Documents and Media.
To change the behaviour, please perform the following steps:
- While signed in with an admin account, navigate to the Control Panel > Content & Data > Documents and Media
- On the Documents and Media page, click the three dots in the upper right corner and click “Home Folder Permissions”
- Deselect all “add” permissions for the row “Site Member” (except “view“), and the Test User should no longer be able to add folders, etc. to Documents and Media
Did this article resolve your issue ?