Issue Description
I have a requirement to hide Manage > Organizations menu for all users except superuser.
How can I achieve it?
Resolution
The requirement can be achieved by modifying
webappsjasperserver-proWEB-INFactionModel-navigation.xml config file.
in line ~46 there is a definition of Manage > Organizations menu:
<condition test="showMTMenuItem"> <option labelKey="NAV_055_TENANT" action="primaryNavModule.navigationOption" actionArgs="organization"/> </condition>
You should include one more condition to check ROLE_SUPERUSER role:
<condition test="checkAuthenticationRoles" testArgs="ROLE_SUPERUSER"> <condition test="showMTMenuItem"> <option labelKey="NAV_055_TENANT" action="primaryNavModule.navigationOption" actionArgs="organization"/> </condition> </condition>
Server must be restarted.
Solution tested with TIBCO JasperReports® Server v.6.4.0
Ref. Case 01516078
Recommended Comments
There are no comments to display.