Issue Description:
How can we hide the "Save Ad Hoc View As..." option from users that have Read Only permission for that Ad Hoc View?
Resolution:
If you give a user role Read Only access to an Ad Hoc View, users of that role type can't choose "Save Ad Hoc View" or "Save Ad Hoc View and Create Report." However, they can select "Save Ad Hoc View As..." If you want to disable "Save Ad Hoc View As..." as an option for those users, you will need to modify these 4 files:
- WEB-INF/actionModel-adhocChart.xml
- WEB-INF/actionModel-adhocCrosstab.xml
- WEB-INF/actionModel-adhocIntelligentChart.xml
- WEB-INF/actionModel-adhocTable.xml
Replace this line:
<simpleAction labelKey="ADH_037_MENU_SAVE_REPORT_AS" action="designerBase.handleSaveAs"/>
with these lines:
<condition test="getIsNotWritable"> <simpleAction labelKey="ADH_037_MENU_SAVE_REPORT_AS" disabled="disabled"/> </condition> <condition test="getIsWritable"> <simpleAction labelKey="ADH_037_MENU_SAVE_REPORT_AS" action="designerBase.handleSaveAs"/> </condition>
Save the xml files and restart the server.
Ref. Case #00047764
Recommended Comments
There are no comments to display.