Blocking access to a folder

Author Message

Tom Erik Thorsen

Thursday 27 January 2005 5:35:54 am

I've read and read and read and read and still have this simple (I believe) problem regarding roles and permissions.

I'd like to:
- Grant access to everything to one user group
- Grant access to everything to another group except one folder

How do I accomplish this in 3.5?

Frederik Holljen

Thursday 27 January 2005 6:00:40 am

You could for example give the special folder a different section. If you do this you can assign the permission with a section limitation for the users in the group with less permissions.

Tom Erik Thorsen

Thursday 27 January 2005 6:03:48 am

I see. Any quick recipe on how to do this? (I'm kinda lost in space, right now...)

Frederik Holljen

Thursday 27 January 2005 6:11:04 am

1. Create the new section from the setup tab (there is an option named sections)
2. Assign the section you just created to your special folder
3. Create two usergroups for your users.
4. Add the users you like into the groups
5. Assign the admin role to the group that should have these permissions (User tab ->Roles and policies)
6. Now actually enter the admin role and select "Assign with limitation" with the dropdown on the left set to section. Select the section you just created, and then select the usergroup with your less privel1. Create the new section from the setup tab (there is an option named sections)

Voila.

Tom Erik Thorsen

Thursday 27 January 2005 6:21:59 am

Well, I can't assign limited access to a section, I'm told by the wizard.

Frederik Holljen

Thursday 27 January 2005 7:05:15 am

True indeed, but you can assign it (the role) with a section limitation (same, but different..)

Tom Erik Thorsen

Thursday 27 January 2005 7:30:29 am

Bah... I don't get this. I'm out.

Thanks anyway.

Sergio Herrera

Thursday 27 January 2005 9:00:53 am

So how do you give anonymous users the access to read the content of folders/articles/etc? recently I tried assigning a section to a folder to use a different template but I run into some access problems that the user had to login before seeing the content. How do I go around that? I want anonymous users to be abel to see this content too.

Marko Žmak

Thursday 27 January 2005 4:17:56 pm

Just one note... Do you want to grant acces to this special folder only, or to the whole subtree of that special folder? Because, I think that if you assign a section to a node the whole subtree of that node enters in that section.

So for granting acces to the special folder only and not the whole subtree, shouldn't the privileges be made for the specific node, and not the section?

Depends on what you want to do.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.