kevin.tey Posted May 10, 2015 Share Posted May 10, 2015 I'm trying to disable the data source/domain/adhoc view "create" button if the role is not role_administrator.eg :role_administrator able to seedata source/domain/adhoc view/ "create" and "view list" buttonrole_normal_userdata source/domain/adhoc view/ "view list" button onlyi'm able to hide the entire container but that is not what im looking for. how can i achive this ?The jasper server im using is version 6.0.2 Link to comment Share on other sites More sharing options...
hozawa Posted May 10, 2015 Share Posted May 10, 2015 Did you look at the following page?http://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v60/restricting-access-role-0 Link to comment Share on other sites More sharing options...
kevin.tey Posted May 11, 2015 Author Share Posted May 11, 2015 yes i did... what i have done is editing the actionModel-navigation.xmlit manage to help me to control the menu. But now when user click on the HOME button users are able to create adhoc view and report.i need to disable the "Create" button based on the Role given. Is it possible ? Link to comment Share on other sites More sharing options...
elizam Posted May 11, 2015 Share Posted May 11, 2015 If you look lower on the same page, there is information on how to disable the Ad Hoc functionality based on role. That is more secure than just removing the links (although I agree the it would be good to remove the links as well.) Link to comment Share on other sites More sharing options...
kevin.tey Posted May 12, 2015 Author Share Posted May 12, 2015 Thanks. Will try to work on that. But anyone else know how to remove the link from the container ?? Link to comment Share on other sites More sharing options...
kevin.tey Posted May 16, 2015 Author Share Posted May 16, 2015 manage to fix it by editing workflowTemplate.htm and workflowTemplate.js Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now