[Zope3-checkins] CVS: Zope3/src/zope/app - context.txt:1.2

Steve Alexander steve@cat-box.net
Fri, 6 Jun 2003 05:55:02 -0400


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv31695

Modified Files:
	context.txt 
Log Message:
Corrected error in description. Added another possible way of solving
an issue.


=== Zope3/src/zope/app/context.txt 1.1 => 1.2 ===
--- Zope3/src/zope/app/context.txt:1.1	Fri Jun  6 05:27:23 2003
+++ Zope3/src/zope/app/context.txt	Fri Jun  6 05:55:00 2003
@@ -30,7 +30,15 @@
 
 - Rename gets proxied by magic in the decorator.
 We could declare that rename is a special "untrusted" method, and cause
-its 'self' argument to be bound to the proxied object in a security proxy,
-instead of the plain proxied object.
+its 'self' argument to be bound not to the decorator instance, but to
+some special object that is like the original decorator, but which wraps
+a security-proxied object.
 
+- Register decorators to classes rather than interfaces.
+Security declarations are made by class, not by interface, so it makes sense
+for a decorator that needs particular security declarations to be declared
+for a class, and not an interface.
+It is not possible, currently, to register an adapter for a class.
+If it is made possible to do this, adapters registered for classes would
+always trump those registered for interfaces.