Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Hide nodes in CMSDesk View modes: 
User avatar
Member
Member
sandip.patil-acapteam - 6/15/2009 11:20:51 AM
   
Hide nodes in CMSDesk
Is there any way how to hide document tree nodes in CMSDesk Content tab? I have experimented with document level permissions like Read, Browse tree but with no success.

Let's say I have a role called ProductManagers

I have a node under the root called Products. I would like to restrict the ProductManagers to be able to browse only the Products node. Other nodes under the root should not be visible or should not be possible to browse them.

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 6/16/2009 4:28:03 PM
   
RE:Hide nodes in CMSDesk
Hi Sandip,
unfortunately this behavior isn't supported yet, you can set access to different documents, but they will be always displayed in content tree, but if user won't have read or browse permissions for document, he will see security error instead off content of the page.
Best Regards,
Zbysek Nemec.

User avatar
Member
Member
staymo-163 - 9/4/2012 9:46:16 PM
   
RE:Hide nodes in CMSDesk
three years past, is there any thing changed? Is there any way to hide nodes in the tree when current user is belonging to certain role?
If current version can not achieve this, how about version 7?

BTW, is it possible to specify multiple starting alias path in users' general properties?

Thanks!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/4/2012 10:31:11 PM
   
RE:Hide nodes in CMSDesk
Hi,

There were many things changed since last 3 years and I would recommend reading the documentation first. You can find the steps how to do it described here.

It is not possible to specify multiple starting paths - currently it has no sense since you can use the above to display the documents you want.

Best regards,
Juraj Ondrus

User avatar
Member
Member
staymo-163 - 9/5/2012 9:33:57 AM
   
RE:Hide nodes in CMSDesk
things changed in last 3 years and kentico are really becoming better and better. Thanks.

User avatar
Member
Member
staymo-163 - 9/6/2012 2:45:31 AM
   
RE:Hide nodes in CMSDesk
I tried it and found some problems. What I really want is that some people can normally read some documents when they are browsing the live site; but when they log into CMSDesk, these documents which they have only read permissions will hide in the tree.


Any advice? Thanks.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 9/6/2012 3:57:59 AM
   
RE:Hide nodes in CMSDesk
Hi,

I'm sorry but this is not possible with Kentico by default. In the hint of "Check document permissions" you can find:
If enabled, only documents for which the current user has the Read permission are displayed in the content tree (both on in CMS Desk -> Content, in document listings and in various dialogs where the content tree is displayed). In case that a user doesn't have the Read permissions for any document at all, the root of the content tree is still displayed to them. If a user has the Read permission for a child document but not for its parent, the child document is not be displayed.

But there is still option that you can customize the Tree in CMSDesk on your own.

User avatar
Member
Member
staymo-163 - 9/6/2012 8:58:32 AM
   
RE:Hide nodes in CMSDesk
how to customize the tree? any tips? thanks.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 9/6/2012 9:26:12 AM
   
RE:Hide nodes in CMSDesk
You can use the Kentico API.
Kentico CMS API Reference is avaliable at Kentico DevNet.

As your question concerns adding complex functionality to Kentico and would require very in-depth explanations, I would recommend that you consider our paid consulting services which would offer you much more detailed and hands-on support for this project. You can find more information here:

Kentico - Consulting

Your question is particularly well suited for the consulting service. Keep in mind if you do have any specific questions regarding use of the API or you encounter any errors or general issues during your development, you can contact support as usual.

Best regards,
Martin Danko