necessary to fix some security test, unclear why did I set perms below at some point...
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 22 Dec 2009 19:25:08 +0100
changeset 4187 c29a49d646af
parent 4186 ca7e526b07b6
child 4188 b3258d2afe04
necessary to fix some security test, unclear why did I set perms below at some point...
schemas/workflow.py
--- 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):