Legacy Knowledge Base
Published Jun. 30, 2025

Roles Admin portlet should not display permissions for Instance Settings and App Manager portlets

Written By

Amit Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

Reproduction Steps

1. Add a Regular Role "Role A", and grant this role the following permission

App Manager: Access in Control Panel
App Manager: Configuration
App Manager: Permissions
App Manager: Preferences
App Manager: View
Instance Settings: Access in Control Panel
Instance Settings: Configuration
Instance Settings: Permissions
Instance Settings: Preferences
Instance Settings: View
Portal: View Control Panel Menu
Purchased > Apps: Access in Control Panel
Purchased > Apps: Configuration
Purchased > Apps: Permissions
Purchased > Apps: View

2. Create a new User "User A", and assign "Role A" to this user.

3. Log in to Liferay with "User A", go to Control Panel, click "Instance Settings", 

Result: Got the error on UI "Portlet is temporarily unavailable", meanwhile, the following error can be observed in the log.

2021-03-01 08:04:21.227 ERROR [http-nio-8080-exec-7][render_portlet_jsp:131] null
com.liferay.portal.kernel.security.auth.PrincipalException$MustBeCompanyAdmin: User 42204 must be the company administrator to perform the action

4. Click "App Manager", the same result as step 4 can be observed.

Environment

  • Liferay DXP 7.3

Resolution

  • The user should have an Administrative role in order to access Instance Settings.
  • The observed behavior is a known issue/bug and has been fixed in liferay-fix-pack-dxp-2 and above.
  • If a hotfix is required for this issue, please create a support ticket requesting a hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base