How to create a restricted area on your homepage

From OpenCms Wiki
Revision as of 23:29, 4 December 2007 by Jmorones (Talk | contribs)
Jump to: navigation, search

Since no one seems to edit this I'm pasting something I found in the opencms mailing list...

I'm not 100% sure what you actually try to do. Here's how ACLs in OpenCms 6 work in general:

Important: Forget about the group "inheritance" feature. Just make sure all groups you create are NOT in parent / child relationship with any other goup.

Let's say you have folder "/folderA/" Let's also say you have a group "GroupB" and a group "GroupC" Members of these groups are also in group "Users" since they must be using the workplace.

Let's say you want "/folderA/" accessible only for "GroupB", NOT for "GroupC".

Do it like this:

Open the "Permissions" dialog on the context menu. 1. Add the "Users" group from the list of groups. Leave all boxes unchecked EXCEPT "overwrite inherited". This must be checked. Press "Set". You have now removed all permissions of the "Users" group on the folder. To verify this, check the permissions of any file in the folder using the permission dialog. It should show NO permissions "()" for the users group.

2. Not add "GroupB" on the permission screen of "/folderA/". Give "GroupB" the permissions you require, e.g. "read" and "write". Click set.

Now users of "GroupC" should not be able to view the "/folderA/" anymore in the workplace, they have no read access to it etc.

Best Regards, Alex.

Alexander Kandzior Alkacon Software - The OpenCms Experts http://www.alkacon.com

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox