scottforquest Posted January 25, 2015 Share Posted January 25, 2015 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 More sharing options...
Solution Tom C Posted January 26, 2015 Solution Share Posted January 26, 2015 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 More sharing options...
hozawa Posted January 27, 2015 Share Posted January 27, 2015 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 everyJasperReports Server user. It's a special system-level role visible in everyorganization.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 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