Issue
- The following message is identified in the logs:
May 10 11:28:27.159 build-3348 liferay[liferay-64c4b97d99-nvp2x] [dxp] ERROR [http-nio2-8080-exec-18][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=39115&p_p_auth=PVRkZV4k generates exception: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=39077, name=com.liferay.document.library.kernel.model.DLFileEntry, primKey=263212, scope=4}
Environment
- Liferay DXP 7.0+
Resolution
- This error is related to permission problems and, in most cases, is an error that comes from an upgrade, a possible solution would be to run the attached Groovy Script or create a ticket to Support in Help Center.
- If this does not resolve the case, then please use the script in
Object creation fails with the error "400 Bad request Someone may be trying to circumvent the permission checker"
Additional Information
- To run the script, go to Control Panel > Server Administration > Script. For more information, please read the following article: Running Scripts From the Script Console
NOTE: Be sure to take a backup of your database prior to making any changes. Always test the changes in a lower environment before making changes in production.
Making manual changes to the database is not recommended, and should be carefully assessed based on your own business needs and risk factors. Any such operation is performed at the sole discretion of your own team.
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