[opencms-dev] selective resources permissions

Andrey Darbinyan adarby at bk.ru
Tue Jan 25 11:13:54 CET 2005


Hello Everyone.

I encountered the following problem while trying to set up user account with access only restricted to the specified folders:

say, i have the parent directory in /sites/default/, called A
i create a new user group called "editors", inherited from "users". I create a user and add it to "editors". Then i set up permissions for "editors" for A: 

view, read: allowed - checked, denied - unchecked
control, write, direct publish: allowed - unchecked, denied - checked
overwrite inherited: checked

it works fine.

Then i go to /sites/default/A/B/ and i want to set it so that i could have full access to B folder.

I set permissions to: 

allowed - all checked, denied - all unchecked
overwrite inherited: checked (or unchecked, doesn't work in either case)

The problem is, no matter what, the "denied" settings get inherited and even though "allowed" settings are set correctly, the user can't access the resource. 

Please tell me if i did something wrong or is it a bug or maybe there's another approach to selective resource permissions?

Thanks in advance,
Andrey









More information about the opencms-dev mailing list