cancel
Showing results for 
Search instead for 
Did you mean: 

UserManager support for new 5.6 "powerUsers" functional group

ron_1
Star Contributor
Star Contributor

I would like to map the "powerUsers" functional group to a directory group much like I do the "administrators" group. The UserService "userManager" extension point provides element "administratorsGroup" to support the "administrators" group. I don't see a comparable "powerUsersGroup". Would it make sense to add such an element?

1 ACCEPTED ANSWER

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Yes, it would make sense, but ideally it would need a notion of "profiles" or "roles" so that it's easy to configure any number of new "groups" of people with alternative behaviours.

As that kind of feature can be tricky to design (especially if you want to integrate it to the core security model), in 5.6 the power users feature is relying on a group with an hardcoded "powerusers" name. But checks on this group name have been restricted to filter configurations (like here for instance: https://github.com/nuxeo/nuxeo-features/blob/master/nuxeo-admin-center/nuxeo-admin-center/src/main/r....

So for now, you could either decide to override filters configurations to match your own group name(s), either contribute a "group computer" java class to the user manager service, that would give the "powerusers" group to users of your choice.

View answer in original post

1 REPLY 1

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Yes, it would make sense, but ideally it would need a notion of "profiles" or "roles" so that it's easy to configure any number of new "groups" of people with alternative behaviours.

As that kind of feature can be tricky to design (especially if you want to integrate it to the core security model), in 5.6 the power users feature is relying on a group with an hardcoded "powerusers" name. But checks on this group name have been restricted to filter configurations (like here for instance: https://github.com/nuxeo/nuxeo-features/blob/master/nuxeo-admin-center/nuxeo-admin-center/src/main/r....

So for now, you could either decide to override filters configurations to match your own group name(s), either contribute a "group computer" java class to the user manager service, that would give the "powerusers" group to users of your choice.