what are permissions and roles to manage some department?

hamid alaaye asked on October 18, 2014 21:54

It is possible we have several user to manage their product. Suppose we have two users( user1 and user 2) and 4 department(dep1, dep2,dep3, dep4) user1 want to manage dep1 and dep3. user 2 want to manage dep2 and dep4. What role and permission are required? I define user1 from application---> configuration--> users. then in department section define the user1 only manage dep1.But the user1 sees dep1, dep2, dep3 , dep4. what is the problem and solution?

Recent Answers


hamid alaaye answered on October 18, 2014 21:56

I uses kentico8.1.

0 votesVote for this answer Mark as a Correct answer

Juraj Komlosi answered on October 19, 2014 21:32

Hi Hamid,

to achieve this behaviour - user will be able to manage only products from specified department - follow these steps:

  • assign the user to role, e.g. Department1ManagerRole. See the Configurating permission section in Kentico documentation,
  • grant the Read products and Modify products permissions to the role user is assigned to (Department1ManagerRole). See the E-commerce permission section in Kentico documentation),
  • go to Users application -> edit your user -> go to tab Departments -> assign the department (Department1) to the user

Now you have the user (in role Department1ManagerRole) who is able to manage the products only from department Department1.

You can also follow step by step scenario in E-commerce department managers section in Kentico documentation. Hope it will help you.

Best regards,
Juraj Komlosi

0 votesVote for this answer Mark as a Correct answer

hamid alaaye answered on October 20, 2014 14:36

thanks alot. I do the above instruction. But when i login the restrict user shown the following message:"Permission 'ExploreTree' is required. " what to do?

0 votesVote for this answer Mark as a Correct answer

hamid alaaye answered on October 20, 2014 14:38

Also I see: " You are not authorized to browse the child pages." in product section.

0 votesVote for this answer Mark as a Correct answer

hamid alaaye answered on October 20, 2014 15:06

I solve the Exploretree problem. but show all product. I want to show one department product for one user.(for example computer for user1)

0 votesVote for this answer Mark as a Correct answer

Sandro Jankovic answered on November 21, 2014 15:31

Hello,

Based on the example you provided it seems that Page Level Permissions (ACL) may be appropriate for this scenario. You can specify which users/roles should be able to see certain documents (products) and set your repeaters or other listing Web parts to "Check permissions." Would this approach work for you?

Please let me know if you have any additional questions or information.

Thanks,

Sandro

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.