Hi all, I need advice on the best strategy on how to manage hierarchical permissions without having to give up on acquisition. Here is my situation (quite standard, I guess): I have a top folder with a top ACL and a set of standard files (global.css, index_html, standard_html_*, breadcrumb_nav). I then have a subfolder with its own ACL. It could be nice I could acquire the standard files from the top folder without having to mantain multiple copies in the subfolder in order to avoid access errors. Currently I keep multiple copies of the standard files, but this is particularly annoying for the breadcrumb, as it must contain quite a lot of <dtml-try> in order to test the various PARENTS conditions, depending both on the role of the user and on the folder where breadcrumb lives in. I am sure I am doing something wrong !!! Any pointer would be appreciated, TIA, --peppo
Hi peppo, Because you have (global.css, index_html, standard_html_*, breadcrumb_nav) at the root level, you do not need them in the sub folders. They will be 'aquired' if not found in the subfolders. The acl_users folders will still handle security for you first, then 'aquisition' will climb the tree until it finds a standard_html_header, etc. Give it a try! Eric.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Giuseppe Bonelli Sent: Friday, August 17, 2001 11:06 AM To: Zope Subject: [Zope] acquisition and permissions (newby)
Hi all,
I need advice on the best strategy on how to manage hierarchical permissions without having to give up on acquisition.
Here is my situation (quite standard, I guess):
I have a top folder with a top ACL and a set of standard files (global.css, index_html, standard_html_*, breadcrumb_nav).
I then have a subfolder with its own ACL.
It could be nice I could acquire the standard files from the top folder without having to mantain multiple copies in the subfolder in order to avoid access errors.
Currently I keep multiple copies of the standard files, but this is particularly annoying for the breadcrumb, as it must contain quite a lot of <dtml-try> in order to test the various PARENTS conditions, depending both on the role of the user and on the folder where breadcrumb lives in.
I am sure I am doing something wrong !!!
Any pointer would be appreciated,
TIA,
--peppo
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Eric Walstad -
Giuseppe Bonelli