E&S CVS Commit: PEAK - Flesh out security API a little: descriptors and methods can now set

pje at eby-sarna.com pje at eby-sarna.com
Tue Aug 5 14:03:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Tue Aug  5 18:02:27 UTC 2003

Modified Files:
	PEAK/src/peak/binding: once.py
	PEAK/src/peak/security: interfaces.py permission.py
	PEAK/src/peak/web/tests: test_templates.py

Log Message:
Flesh out security API a little: descriptors and methods can now set
'permissionsNeeded', without needing 'security.allow()', as long as a base
class has used it, or the class derives from binding.Component.  Also,
fixed an issue where subclassing from two different types would not merge
their permissions in the subclass, unless the subclass used
'security.allow()'.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/once.py.diff?r1=1.57&r2=1.58
http://cvs.eby-sarna.com/PEAK/src/peak/security/interfaces.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/security/permission.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/web/tests/test_templates.py.diff?r1=1.6&r2=1.7

To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 PEAK/src/peak/binding/once.py
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/security/interfaces.py \
    PEAK/src/peak/security/permission.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/web/tests/test_templates.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list