nicholas Posted June 18, 2008 Share Posted June 18, 2008 Hi, We'd like to allow some of our JasperServer 2.1.0 users the ability to create new report definitions (uploading new jrxml files, etc.) You need to use the 'manage' repository page do to this. It appears that this page is only accessible by users with the ROLE_ADMINISTRATOR role. Is there a mechanism to allow limited amounts of administration? To manage (areas of ?) the repository, but not to create/remote users, for example. Much thanks, Nick Link to comment Share on other sites More sharing options...
lucianc Posted June 19, 2008 Share Posted June 19, 2008 This is a known design problem with JasperServer 2.1 (and older) that will be resolved in 3.0 via the introduction of a new repository explorer. You can fix this in 2.1 by customizing the default JS permissions so that the Repository Admin page is visible to users that are not ROLE_ADMINISTRATORs. To do this, you would need toedit WEB-INF/classes/JI-menu.xml by moving the "menu.all" subitem from "menu.administration" (the one that points to repoAdminFlow) to "menu.repository", and adding ROLE_USER to the same subitem, andedit WEB-INF/classes/applicationContext-security.xml by removing the "repoAdminFlow=ROLE_ADMINISTRATOR" line from the flowVoter bean.[/ul] HTH,Lucian Link to comment Share on other sites More sharing options...
nicholas Posted June 19, 2008 Author Share Posted June 19, 2008 Thank you for this information, it will be useful to us. Nick 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