sourabh.g Posted September 4, 2013 Share Posted September 4, 2013 I have create a new role ROLE_TEST and a user Test_User and ROLE_TEST assign readonly permission and start the serverwhen i login through this user i getting access is deniedandYou do not have permission to view this page.Please contact your system administrator or log in as a user with permission.I also follow jasper server admin guide for creating user and roles....but till now i am getting access is denied for custome role.if any one know so share ur knowledge for my help............Thanks Link to comment Share on other sites More sharing options...
elizam Posted September 4, 2013 Share Posted September 4, 2013 If you have not already done so, try also assigning your user ROLE_USER in addition to ROLE_TEST. Link to comment Share on other sites More sharing options...
sourabh.g Posted September 5, 2013 Author Share Posted September 5, 2013 i have tried,this ROLE_USER is worked for me but our custom role have access is denied permission. Link to comment Share on other sites More sharing options...
ssvicente Posted December 9, 2013 Share Posted December 9, 2013 I have the same problem. In fact if we add the role_users it allows to access, but it also get's access to some root features like jdbc, analysis, content files, input files.Isn't possible to create a role from scratch, with e.g. access only to root -> reports ?thanks. Link to comment Share on other sites More sharing options...
jlittle2 Posted February 25, 2014 Share Posted February 25, 2014 I am trying to do the same thing: create a new user and role which can only see a subset (or folder) of reports. This does not seem to be possible with jasper server. From various posts, it seems you have to assign all users with "ROLE_USER". however, this then gives your restricted user access to everything. So I tried setting both my restricted role, and role_user, to have no acces to anything except the reports. This results in getting this error when i try to run the reports:java.lang.RuntimeException: org.springframework.security.AccessDeniedException: Access is deniedThe fact that you cant restrict users to specific reports only, and not the rest of the system, means jasper server is not suitable for our oganisation. 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