How to create a less powerfull Admin role ?

I browsed this forum for an hour now without finding an answer to that.

There's a ROLE_ADMINISTRATOR who is able to manage organisations/roles/users

But I would like to kow how can I create a new ROLE, ADMIN_LIKE so he can manage only USERS and set existent ROLES to them

In the way to have something like that :

ROLE_ADMINISTRATOR (jasperadmin) : Manage and Create and View

ROLE_ADMIN_LIKE : Manage only users and Create and View

ROLE_MANAGER : Create and View

ROLE_USER : Only View

I've already modified actionModel-navigation.xml in that way, but when my ADMIN_LIKE user click on MANAGE/USERS, he still don't have the right to do that.

Thanks for your help.

Boris Gisselere's picture
Joined: Apr 10 2013 - 1:48am
Last seen: 1 year 7 months ago

2 Answers:

I'm still looking for a solution .. someone know something ?

Thank you

Boris Gisselere's picture
Joined: Apr 10 2013 - 1:48am
Last seen: 1 year 7 months ago

Along with actionModel-navigation.xml , tou also need to edit applicationContext-security.xml file where you need to add the role to the flow userListFlow,roleListFlow

mundrameenaxi's picture
Joined: Apr 1 2016 - 11:31pm
Last seen: 1 month 2 weeks ago
Feedback