[Subversion] / PEAK  

Revision 1274


Jump to revision:
Previous Next
Author: pje
Date: Mon Jul 21 00:07:30 2003 UTC (20 years, 9 months ago)

Log Message:

Adjust security rules so that unprotected objects are accessible when the
name being checked is None.  This is because None is only used to verify
that an item retrieved from a container or sequence is accessible.  In the
case where an object has no security rules defined, there is no need to
restrict access in that context, because none of its names are going to
be accessible, anyway.  But, if the object is a primitive value (e.g. a
number or string), we need to be able to retrieve it from the mapping or
sequence.  This change is needed so that (for example) peak.web.templates
can iterate through and display a list of numbers.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/src/peak/security/interfaces.py modified X   (diff to previous)
PEAK/src/peak/security/permission.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help