Issue
- Does DXP have permission feasibility with fragments?
Environment
- Liferay DXP [all versions]
Resolution
- There is no way to directly control the visibility of a Fragment depending on the user accessing the page.
- These LPS-132082 and LPS-166820 have been created to add permissions on Fragments to control which users can add which fragments to a page.
- However, feature requests are entirely up to our product team to adopt or not within the product. Please see here: Requesting a New Feature or Feature Improvement
- However, feature requests are entirely up to our product team to adopt or not within the product. Please see here: Requesting a New Feature or Feature Improvement
Additional Information
- The following workaround which users can see if it is feasible at their end:
This could be handled by Page Experiences. By creating the whole page for a specific role:
- They would avoid a possibly huge performance impact that would come from Liferay implementing fragment based permission checking
- They would be able to control who gets to see what
- They would always be able to see the fully rendered page
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In