trvpseudo Posted September 5, 2019 Share Posted September 5, 2019 so this will be my last resort of things i would do with the jasper UI.can we give specific role a CSS that applied last, which is after overrides_custom.css?example : role admin will apply admin.css but role user will apply user.cssi really need that to hide several menu based on roles.thanks in advance! regards,TV Link to comment Share on other sites More sharing options...
elizam Posted September 5, 2019 Share Posted September 5, 2019 Have you already tried the steps in these sections and they didn't work? https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v720/customizing-menus Link to comment Share on other sites More sharing options...
Solution trvpseudo Posted September 6, 2019 Author Solution Share Posted September 6, 2019 hi thanks for your response!i read almost everything but no idea how to do it (coz always easier said than did it right ? haha )i follow https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v610/restricting-access-role quite a while and at last it resolved my problem.clear answer if theres someone have this problem :1. make a yourCss.css2. open decoratorsdecoratorMinimalImport.jsp3. add tag lib uri authz as link above, follow the link above part "Restricting a Section of a JSP File by Role"4. give it your specified role (your link to the css can be below overrides_custom.css or anywhere that meet your requirement)5. restart the app6. login with superuser and upload yourCss.css to your active theme (cannot be default theme, idk if you can but i dnt know how)7. refresh the page and login with the specified role8. your css shoould be applied for that role onlythats it! hope that helps newbie like me as well!Regards,TV 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