Add roles to roles

Olivier Cozette asked on September 2, 2015 16:58

Is it possible to add roles to roles ?

This is my scenario:

Once I've imported AD groups onto Kentico, I need to grant acces to some sections to some roles, but my Kentico role have (all the XYZ AD group), plus (some kentico users). So the best option will be for me to create a Kentico role, containing my AD group (now, this is a kentico role), plus some kentico users.

Adding my kentico users to the AD role is not a good solution, because during import from AD, all users non exisiting on AD, are deleted from the group, to keep consistency up to date.

Recent Answers

Roman Hutnyk answered on September 2, 2015 17:10

Have you tried to achieve this with Membership? I believe, this will allow you to group several roles together, under one umbrella.

0 votesVote for this answer Mark as a Correct answer

Jeroen Fürst answered on September 3, 2015 08:28 (last edited on September 3, 2015 08:29)

Did you know you can disable import of AD roles via the web.config application setting: <add key="CMSImportWindowsRoles" value="false" />

I believe this will give you more control over user management. It will also improve the performance of the application. Good luck!

0 votesVote for this answer Mark as a Correct answer

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