Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- When I try to create new objects, I receive the following error message:
Error 400:BAD_REQUEST, Someone may be trying to circumvent the permission checker: {companyId=43465, name=com.liferay.object.model.ObjectDefinition, primKey=48129, scope=4}
We have tried following this article:
"Someone may be trying to circumvent the permission checker" errors shown in the logs
Environment
- Liferay SaaS
- 2023.Q3.2
Resolution
- Copy the attached script.groovy at Control Panel > Server Administration > Script
-
Before running the script, update the companyID to the ID shown on the failure message, make sure that it is correct; then click on Execute.
- If you are unable to run scripts in your environment, open a ticket on the Help Center and refer to this article with its link.
Additional Information
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