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

Issue with new user/role?


scottforquest
Go to solution Solved by Tom C,

Recommended Posts

I am  working on JasperServer community edition.

 

Here is the problem I am facing

 

After creating a new role eg "TEST_ROLE" (with jasperadmin credentials),Created a new user "TEST_USER" and assigning him the role as "TEST_ROLE"(removed the Role_User which gets assigned automatically to every user created).

navigated to repository root and provided the role("TEST_ROLE") with Administer permission

 

 

Now when TEST_USER logs in he see below message

 

 

"You do not have permission to view this page.
Please contact your system administrator or log in as a user with permission."
[/code]
 



 

I am not sure why he is not able to view the page when correct permissions are given?

 

My Findings:- To make it work newly created user must be associated with Role_User (though you can revoke all permissions for this role for all folders/resources), Is this a BUG?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

ROLE_USER is a special system-level role that is equired to allow a user to log in. You should never delete this role.

If you want to set the resource access permission for your test_user, assinging both ROLE_USER and TEST_ROLE roles to  this user. Then set permission of your repository resource to "No access" for ROLE_USER, and RWD access for TEST_ROLE.

Link to comment
Share on other sites

Please read the documentation - "JasperReports Server Admin Guide".

Section "2.3 Managing Roles"

ROLE_USER Required to log in. This role is automatically assigned to every
JasperReports Server user. It's a special system-level role visible in every
organization.
Never delete this role, it's required to create users and allow them to log in.

 

http://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v601/managing-roles

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...