Issue
- Custom pages for 404 errors can be easily configured in DXP; however, how can a custom page be designed for the "You do not have the roles required to access this portlet" error?
Environment
- Liferay DXP 7.4
Resolution
- There is no OOTB functionality to achieve the requested requirement here, however, users can try to create the error message in 'portlet access denied.jsp' since the error originated from this JSP file ({liferay_home}\tomcat\webapps\ROOT\html\portal).
- Please see this article which might be helpful here: Customizing JSPs with Dynamic Includes
Additional Information
- We have a separate channel named "Global Service Team" where users may seek help with any type of implementation or customization.
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