eZ Community » Forums » Setup & design » Create role/Policy to manage members...
expandshrink

Create role/Policy to manage members or users

Create role/Policy to manage members or users

Monday 07 March 2011 11:30:13 am - 4 replies

Hello,

I have been hired by a medium organisation to help manage a Ez-Publish website what is currently at version 4.4.0. I have searched this forum and tried the net but can't really find the solution.

What I would like to do is create a new Role called userManagement and attach a group of polices to it what will allow a user with the role to edit members and users in the CMS.

This will then allow me to delegate user management to multiple people without giving admin rights. the type of actions the user will need permission to do it. Enable user, change user password, edit user and delete user.

Would this be possible to implamentate

Regards

Monday 07 March 2011 12:13:07 pm

Hi Simon,

this is perfectly possible just by configuring eZ Publish through the admin interface. You should go to the "User accounts" tab and then you should find a link (in the left column) "Roles and policies" you can create your own policies and assign them to a group of user. Those policies can define what the users are able to do.

You can read The-User-accounts-tab in the documentation to find details on that topic.

Cheers

Monday 07 March 2011 12:39:59 pm

Hi Damien,

Thanks for your speedy reply and the link to the resource. I can understand how to attach the policies now but I am finding the amount of policies and the policy names confusing. Nothing strikes me in the list of policies what controls the permission of allowing users edit other users.

Would you by any chance know what one it could be?

Thanks,

Simon

Monday 07 March 2011 1:08:50 pm

I can understand how to attach the policies now but I am finding the amount of policies and the policy names confusing. Nothing strikes me in the list of policies what controls the permission of allowing users edit other users.

Would you by any chance know what one it could be?

When you add a policy to a role you can restrict it. Depending on the module / function, you have different type of available limitations. In your case, I think you should use content / edit and set a limitation on object of the class User.

Cheers

Monday 07 March 2011 3:30:59 pm

Hi Damien,

Thank you for your help. While learning I have managed to cobble a working solution. using the limitation was a big help.

cheers,

Simon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from