Jump to content
We've recently updated our Privacy Statement, available here ×

Problem in accessing roles and users


sapna.singh

Recommended Posts

Hi,

I am using Jaspersoft for AWS ( Hourly) seeking for help regarding users,roles and permission.There was a requirement  to create a user and assign it a role  so that only one report should visible to the user .i created a user and Role_user automatically assigned to it so i made some changes in the settings of the Role_user so that only one report is visible. And now its giving this error message "java.lang.RuntimeException: org.springframework.security.access.AccessDeniedException: Access is denied" and no user can access any report.

I don't have default settings of Role_user.

Kindly help ASAP.

 

Thanks with Regards,

Sapna Singh

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi, all users when create are assigned the roll "ROLE_USER" and this is a default role that sould not be removed. 

So you have 2 options. 
If you want only spesific user to see report/resource. (Example user name UserT)
 Then you go to resource, right click and select permissions. 
  In pop up you need to set the Role :ROLE_USER to no access and then apply. 
  Then select the User tab in pop up and set UserT permission to what you want and then apply.
    Now only User T can admin user can access resource.
 

If you want Role_base access then. 
  Then you go to resource, right click and select permissions. 
  In pop up you need to set the Role :ROLE_USER to no access and then apply. 
  Select the Role you create and select permission level, then apply. 
   Now all users with the given role can access the resource. 

Hope it makes sense. 

Kind Regards
Josia

  

Link to comment
Share on other sites

Hi Josia,

Thanks for the responce. I have followed all the steps but again same error is occuring Still no user can access any resource.

Can you please provide the default permissions of Role_user because i had changed all the permissions of this role that time. 

 

Thanks with Regards,

Sapna Singh

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...