simonabertozzi Posted December 6, 2011 Share Posted December 6, 2011 I want to create a new role (ROLE_DEVELOPER) that is able to create Domains in the Pro version.How can I do that? Every new role I create has the same menu as the ROLE_USER: i don't want to use ROLE_ADMNISTRATOR.Best regards,Simona Link to comment Share on other sites More sharing options...
khahn Posted December 12, 2011 Share Posted December 12, 2011 These steps describe how to hide the Create > Domain menu for users who are not assigned the role of ROLE_DEVELOPER. If you want to define ROLE_DEVELOPER at the organization level instead of the root level, you have to use a slightly different syntax in the XML file. (see below) Log in as Superuser. Create the role, ROLE_DEVELOPER at the root level. Create a user, for example userdeveloper. Give the userdeveloper the ROLE_DEVELOPER. Give the administrator user and any other user who should be able to create Domains the ROLE_DEVELOPER. Only users having ROLE_DEVELOPER will be able to create Domains. For example, you probably want jasperadmin or another administrative user to be able to create Domains. If you're using Tomcat, open <tomcat>/webapps/jasperserver-pro/WEB-INF/actionModel-navigation.xml. If you're using another application server, find actionModel-navigation.xml and open it. Change the following condition testArgs value in the main_create_mutton from "ROLE_ADMINISTRATOR" to "ROLE_DEVELOPER". See code snippet below. Restart Tomcat Code: Post Edited by khahn at 12/13/2011 22:26 Link to comment Share on other sites More sharing options...
simonabertozzi Posted December 18, 2011 Author Share Posted December 18, 2011 It works! I created ROLE_DEVELOPER at superuser level, and tried to assign it to a new user inside organization_1.The second option, create ROLE_DEVELOPER at organization's level, doesn't work but this solution suits me just fine (I have the Pro version, so no multitenancy for me ;))Thank you!Best regards,Simona Link to comment Share on other sites More sharing options...
wolfram Posted September 17, 2012 Share Posted September 17, 2012 HiI also able to do this in version 4.0 but I wasn't able to do the same thing in 4.7. The screen only display "You do not have permission to view this page." Is there an additional permission that I need to enable this? Regards,Mel 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