Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Permissions on Users Module View modes: 
User avatar
Member
Member
ArifKhan - 9/15/2009 5:57:35 PM
   
Permissions on Users Module
We want call centre users to be able to reset a user password. The following are the requirements:

1) The user should only see the Administration -> Users in CMS Desk
2) Under Users only see the Users tab
3) For a selected user, only Password tab should be displayed

Experimenting with permissioning model, we have a role created with:

a) Read on CMS Administration module
b) Display module, Modify & Read on Users module

The above permissions is able to achieve the following:

1) The user can see the MyDesk & Administration -> Users in CMS Desk
2) Under Users object they can see the Users tab, Mass e-mail tab & On-line users tab
3) For a selected user, they can see General, Password, Settings, Roles, Departments, Notifications, Categories, Friends(with Access denied message), Subscriptions, Languages

Is there any way of achieving what is required? Or is it better to create a simple webpage that uses the API to reset user passwords?


User avatar
Kentico Support
Kentico Support
kentico_radekm - 10/5/2009 9:19:43 AM
   
RE:Permissions on Users Module
Hello.

Due to very specific nature of this requirement, you will need to do customization on several places in your web site project.

1. On /CMSDesk/administration/leftmenu.aspx.cs you need to put AddNode methods into if - then statement and add node (or hide) according to current user or his role. This can be checked via API: http://devnet.kentico.com/docs/devguide/checking_user_permissions.htm

2. The some, but for particular tabs, you need to done in CMSSiteManager/Administration/Users/Users_Header.aspx.cs.

3. Also, the same in CMSSiteManager/Administration/Users/User_Edit.aspx, where you can show or hide eg. "showFriendsTab" and other.

Best Regards,
Radek Macalik