Jim Fulton wrote at 2004-1-15 10:03 -0500:
> ...
>Right. The name attribute was intended for attribute-based access.
>
>IMO, it makes no sense to consider key values when doing security
>checks.
>
>> I will let Jim comment on your use case.
>
>What use case?  I missed it. Where is it?

"AccessControl.SecurityInfo.SecurityInfo.setDefaultAccess"
allows integers, strings, dictionary mapping names to integers
and function with signature "name,value --> boolean" as
arguments.

The motivation is that some attributes may be accessible
while others should not. It is highly likely that
this decision is based on the attribute name.
When "None" is passed as name, you loose...

-- 
Dieter

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to