Michael Ralston wrote:
Edith Chevrier wrote:
Hi,
i have the same troubles and i would like to change the Access
Controller before we release lenya-1.4 as follow:
The ac rights are inherited but it is possible to stop the inheritence
from one node, by "removing" the right. (adding the right with the
method:remove)
I thought about making the access controller revoke permissions as well
as grant them. But I think I'd rather leave the Access Controller only
grant permissions, but make it possible to not inherit from a parent node.
I think inherit on/off is much simpler to implement (I've got it working
with the code changes I posted to the list) and I can't think of any
combination of access controls that it would not be able to provide. Can
you see any disadvantages to this approach which would make your
approach more desirable?
Imagine a situation where you want to add a private area in a public
website. If there is one protected document among a large number of
public siblings, the inherit=off method is rather painful. Additionally,
you have to copy the parent settings to all public sub-documents, and
maintain them there. It would be much more convenient to deny the access
for the private sub-document.
-- Anderas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]