Balraj Posted August 19, 2016 Share Posted August 19, 2016 Hi Community,As per requirement we've to implement role based filters on "Search Results" i.e., view -> search results from the menu.I'm following the given link:http://community.jaspersoft.com/wiki/how-customize-search-results-filters-role-basedhow to tweak it to implement it for both "superuser and reportadministrator"Thank you :) Link to comment Share on other sites More sharing options...
Solution Balraj Posted August 19, 2016 Author Solution Share Posted August 19, 2016 Well I got the Answer, by adding an extra bean to the "id=SuperUserRoleAccessList"<!--Custom tag --> <util:list id="SuperUserRoleAccessList"> <bean class="com.jaspersoft.ji.search.common.ProRoleAccess"> <property name="roleName" value="ROLE_SUPERUSER"/> <property name="tenantId"> <null/> </property> </bean> <bean class="com.jaspersoft.ji.search.common.ProRoleAccess"> <property name="roleName" value="ROLE_ADMINISTRATOR"/> <property name="tenantId"> <null/> </property> </bean> </util:list><!-- End of custom tag -->[/code]Cheers :D 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