Hide portions of the content tree
Have you got a big tree section in Kentico with different roles and users, who only need to access and see some portions of the content tree? Does the content tree have different document types for this? And do you want to know how to restrict those users to that content?
If the answers to these questions are YES or you just want to clarify, then have a read through this post.
I had to look into a scenario with a colleague, where we were required to limit the content tree to different users who were in the same role, but these users were required to access different sections of the tree.
The example is to do with a Scheme Manager who manages different city Schemes. So if you can imagine, they only need to see the Scheme they manage and not everything else on the site and also not other city Schemes.
Have a look at what we have in the content tree at the moment.
So your probably thinking, this is something similar to what I want, so how can I do this?
We need to make sure we use the following to set this up.
1. Site Settings
Make sure the Site Setting for Check Document Permissions is selected
2. Document Type Permissions
Think about which document types the restricted users need to view in the content tree.
Once you know this you can start allowing permissions for the role that the users belong to.
So in this case, the Root document type is the first item we need to make sure the users can have Read access to. Then apply this to Scheme folder and then the inner document types. Depending on the level of access you require, you can adjust accordingly.
If you want different users that need to access only particular areas on the content tree, which is what we wanted in our case. Then don't set any permissions on the container/folder document type of the area. So from the screenshot below, we did not set any permissions on the document type that has Ledbury for example.
This way all the users in the same role will not have access to that document type. They can still have the appropriate permissions for the inner document types, but just not the container/folder document type.
3. UI Personalization
Hide or show elements of the content area and interface. So you may not require the users to view all modules and properties.
4. Set the Document Level Permissions
Ok so this is the bit where you can set the document level security permissions on the container/folder document type of the area you wish you show for that user. You can do this by selecting the document in the tree and going to the Security section.
Setting this permission level, will mean that only that user will see that section. Other users will not see it.
And that's it, you can then go and set this setting for the other users who belong to the same role and limit them to the area they should have access to.
As you can see this is something that can be easily achieved within Kentico and it shows the flexibility Kentico offers as a CMS and all of this can be achieved by just following a few steps and understanding the permissions, roles and security aspect of Kentico.
Access to particular part of the document's tree by Juraj Ondrus - Kentico
Tips and Tricks: Hiding content in the content tree by Jeroen Furst - Kentico MVP