schemas/workflow.py
changeset 4187 c29a49d646af
parent 4004 c52619c738a5
child 4252 6c4f109c2b03
--- a/schemas/workflow.py	Tue Dec 22 19:23:59 2009 +0100
+++ b/schemas/workflow.py	Tue Dec 22 19:25:08 2009 +0100
@@ -160,11 +160,7 @@
     inlined = True
 
 class to_state(RelationType):
-    __permissions__ = {
-        'read':   ('managers', 'users', 'guests',),
-        'add':    ('managers',),
-        'delete': (),
-    }
+    __permissions__ = HOOKS_RTYPE_PERMS.copy()
     inlined = True
 
 class by_transition(RelationType):