Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Hiding documents in the content tree based on permissions View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
yoek - 4/2/2013 11:17:25 PM
   
Hiding documents in the content tree based on permissions
Hi,

I'm trying to set up a visibility permission on content tree, basically what currently done is setup a role with none to check in content module permission, please reffer to the picture bellow for detail.
I set a test user with multiple role of which is Country Editor - Bahrain, Country Editor - United Kingdom, Country Editor - United States.
The problem is, with this setup I still can see the document in document tree.

PS. I'm not setting (not checked) any read permission for related document ie document type, or even in document level.

User image

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/2/2013 11:33:11 PM
   
RE:Hiding documents in the content tree based on permissions
Hi,

Please see this documentation for other required settings to achieve this.

Best regards,
Juraj Ondrus

User avatar
Certified Developer v7
Certified  Developer v7
yoek - 4/2/2013 11:39:59 PM
   
RE:Hiding documents in the content tree based on permissions
Hi Juraj,

Yes, I'm doing that also, but still, user with particular role able to see the document in the tree, it might looks like a bug, even with no permission to browse tree.

User avatar
Certified Developer v7
Certified  Developer v7
yoek - 4/3/2013 12:03:44 AM
   
RE:Hiding documents in the content tree based on permissions
Hi Juraj,

I found something interseting, my thought is, basically every user will inherit default kentico Authenticated users role (see detailed pict).

My question is, what will happen if I change that default role to have no ability to read? are this will affecting to every user also? are this will affecting the front end page also?

User image

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 4/3/2013 12:53:01 AM
   
RE:Hiding documents in the content tree based on permissions
Hi Joek,

Yeah, every logged user will inherit the special Authenticated user role (and is affectign them). I also believe that this setting wont affect the front page so you definitely can try to uncheck the read permission and follow up the documentation which Juraj posted. Then you will need to set up the appropriate read permissions because only users with that permission will be able to see that particular page.

The permission are sometimes hard to manage because of all the options. I would reccommend to play with it a little. You can make a backup of your database or create a new site using our site wizard for the testing before you put in your site if you like.

Let us know if you would have any other question.

Kind regards,
Richard Sustek

User avatar
Certified Developer v7
Certified  Developer v7
yoek - 4/3/2013 12:57:09 AM
   
RE:Hiding documents in the content tree based on permissions
perfect, looks promising as long as there is not affecting the front page, will have play with it. Thanks Richards,

Cheers

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 4/3/2013 12:59:42 AM
   
RE:Hiding documents in the content tree based on permissions
You are welcome.

Let us know if you encounter any issues.

Kind regards,
Richard Sustek

User avatar
Certified Developer v7
Certified  Developer v7
yoek - 4/3/2013 1:44:13 AM
   
RE:Hiding documents in the content tree based on permissions
Hey Richard,

Can you tell me where it store in table for security permission on document level? I already trying to find it but still no luck.

Thanks

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 4/3/2013 2:49:52 AM
   
RE:Hiding documents in the content tree based on permissions
Hi Yoek,

These tables should be what you are looking for.

http://devnet.kentico.com/docs/devguide/index.html?document_permissions.htm

Kind regards,
Richard Sustek