How to set custom page for "You do not have the roles required to access this portlet" error
Kanchan Bisht
更新
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).