[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Browser - EditConfiguration.py:1.3
Jim Fulton
jim@zope.com
Sun, 1 Dec 2002 05:28:23 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Browser
In directory cvs.zope.org:/tmp/cvs-serv1786/Browser
Modified Files:
EditConfiguration.py
Log Message:
Fixed bug in configuration management view. The view was using
obsolete methods. Added security assertions for the methods for
moving configurations around.
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Browser/EditConfiguration.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Browser/EditConfiguration.py:1.2 Sat Nov 30 13:39:17 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Browser/EditConfiguration.py Sun Dec 1 05:28:22 2002
@@ -43,13 +43,13 @@
elif 'remove_submit' in self.request:
self.remove_objects(k)
elif 'top_submit' in self.request:
- self.context.arrange_object(k[0], 'top')
+ self.context.moveTop(k)
elif 'bottom_submit' in self.request:
- self.context.arrange_object(k[0],'bottom')
+ self.context.moveBottom(k)
elif 'up_submit' in self.request:
- self.context.arrange_object(k[0],'up')
+ self.context.moveUp(k)
elif 'down_submit' in self.request:
- self.context.arrange_object(k[0],'down')
+ self.context.moveDown(k)
return ''