Issue
- The steps described in the article "enabling remote live staging" have been followed but, when trying to activate remote staging, the following error is shown in the log:
com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.exception.SystemException: Access denied to com.liferay.portal.kernel.service.GroupService#checkRemoteStagingGroup
Environment
- Liferay DXP 7.0
- Liferay DXP 7.1
- Liferay DXP 7.2
- Liferay DXP 7.3
Resolution
The problem is caused by an incorrect configuration of the server access policy used by the tunneling servlet. To check which policy is being used by the tunneling server follow these steps:
- Navigate to Control Panel → System Settings → API Authentication → Tunnel Authentication
- In the field "URLs Includes" click in "/api/liferay/do"
- The server access policy used is set in the field "Service Access Policy Name"
Once the service access policy used by the tunneling servlet has been identified, follow these steps:
- Navigate to Control Panel → System Settings → Service Access Policy
- Click in the access policy that corresponds with the name used in the tunneling servlet configuration
- Make sure the policy is enabled
- Make sure that in the allowed service signatures it has the following values:
- "Service Class" → "*"
- "Method name" → blank
