Log message for revision 73884:
  Brown bag of the year award: missed the decorator here

Changed:
  U   Zope/branches/2.9/lib/python/AccessControl/Owned.py

-=-
Modified: Zope/branches/2.9/lib/python/AccessControl/Owned.py
===================================================================
--- Zope/branches/2.9/lib/python/AccessControl/Owned.py 2007-03-29 05:10:08 UTC 
(rev 73883)
+++ Zope/branches/2.9/lib/python/AccessControl/Owned.py 2007-03-29 05:21:22 UTC 
(rev 73884)
@@ -176,6 +176,7 @@
         if owner == info: return 0
         return security.checkPermission('Take ownership', self)
 
+    @postonly
     def manage_takeOwnership(self, REQUEST, RESPONSE, recursive=0):
         """Take ownership (responsibility) for an object.
 
@@ -195,6 +196,7 @@
 
         RESPONSE.redirect(REQUEST['HTTP_REFERER'])
 
+    @postonly
     def manage_changeOwnershipType(self, explicit=1,
                                    RESPONSE=None, REQUEST=None):
         """Change the type (implicit or explicit) of ownership.

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to