[Zope3-checkins] CVS: Zope3/src/zope/app/undo - configure.zcml:1.3

Philipp von Weitershausen philikon at philikon.de
Fri Mar 19 13:37:39 EST 2004


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

Modified Files:
	configure.zcml 
Log Message:
Define permissions for new undo model.
See http://dev.zope.org/Zope3/SimplifyUndoModel


=== Zope3/src/zope/app/undo/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/undo/configure.zcml:1.2	Tue Mar  2 13:51:05 2004
+++ Zope3/src/zope/app/undo/configure.zcml	Fri Mar 19 13:37:38 2004
@@ -2,10 +2,26 @@
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
     xmlns:event="http://namespaces.zope.org/event"
+    i18n_domain="zope"
     >
 
+  <permission
+      id="zope.UndoOwnTransactions"
+      title="[undo-own-transaction-permission] Undo one's one transactions"
+      description="With this permission a user may undo his/her own
+                   transactions."
+      />
+
+  <permission
+      id="zope.UndoAllTransactions"
+      title="[undo-all-transactions-permission] Undo all transactions"
+      description="With this permission a user may undo all transactions,
+                   regardless of who initiated them"
+      />
+
+
   <event:subscribe
-      subscriber=".undo.undoSetup"
+      subscriber=".undoSetup"
       event_types="zope.app.event.interfaces.IDatabaseOpenedEvent"
       />
 




More information about the Zope3-Checkins mailing list