[opencms-dev] ACL logic

Roberto Melino roberto.melino at regulus.it
Tue Sep 16 12:09:20 CEST 2008


I've a lot of file in a folder and I need to create a group for every 
file to operate (write/publish) on it (one group only on one file).
My first idea was to deny actions on parent group of my set of groups 
over the container folder and, than, enable for each file the permission 
for the owner group. I thought, wrongly, that using the flag 
/overwriting inherited/ will modify the denied permissions to enabled 
where the group change the permissions from the parent ones. I learned 
to my cost that the ACL login doesn't work in that way. The enabled 
permissions are overwritten, the denied ones are added.
I found on Dan Liliedahl' book /OpenCms 7 Development/ that the way to 
obtain the permission behavior that I need is to set enabled and denied 
permissions for every group on every file. This solution is not 
applicable for me because groups and files change continuously and are 
too much to be managed in such a way.
Have anyone of you an idea to solve my problem?
Thanks in advance.
-- 
*Roberto Melino*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080916/00a10604/attachment.htm>


More information about the opencms-dev mailing list