Legacy Knowledge Base
Published Jul. 2, 2025

Permissioning Documents as a Site Member

Written By

Vincent Liu

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.
This article explains an issue that arises even after applying a fix for LPS-34514 (this LPS ensures that the option "Site Members" is only shown in the role selection box if the user really had the permission to "View" the "Site Member" role). While this fix is correct, the best fix would be that this permission should be given to all users by default.

Resolution

Scenario

  1. Add a Documents and Media portlet on a private page
  2. As Test user / Site admin, make sure the View permission is set up so that the document is viewable to anyone.
  3. As a site member, upload a document.
    1. Site member role is no longer there because of LPS-34514 (as expected)
    2. View is not checked after publishing (different from Site Admin)
    3. Other site members cannot see this document.

Additional Tests

  1. If we check View permission for guest manually, other site members can see this document, but if we happen to have a site scoped Documents and Media portlet in a public page, guests will see this document too, even if we upload it on a private page.
  2. With this, it is still possible to make the document visible to site members, but this permissioning can only be done by the Site or Portal admin. This means that a site or portal admin has to edit the permissions for every document to make it visible to other site members- which is very inconvenient for a collaboration site.

To Resolve this Issue

  1. As a Portal Admin go to Control Panel > Roles
  2. Look for the "Site Member" role and in the Actions dropdown select "Permission"
  3. Check the checkbox for row "User" and column "View"
Did this article resolve your issue ?

Legacy Knowledge Base