[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - HTTPRequest.py:1.1.2.21

Steve Alexander steve@cat-box.net
Fri, 1 Mar 2002 07:01:57 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv24839

Modified Files:
      Tag: Zope-3x-branch
	HTTPRequest.py 
Log Message:
Set __permission__='Zope.Public' on the get method, so that the
RolePermissions part of the ZMI works again, after shane's ZPT security
landings.


=== Zope3/lib/python/Zope/Publisher/HTTP/HTTPRequest.py 1.1.2.20 => 1.1.2.21 ===
             v = self.common.get(key, _marker)
         return default
+    get.__permission__ = 'Zope.Public'
 
     def __getitem__(self, key):
         res = self.get(key, _marker)