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
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar