schemas/__init__.py
changeset 2501 fa86d99c2c3a
parent 2141 0072247db207
child 2502 324ec2056d56
--- a/schemas/__init__.py	Fri Jul 24 19:39:53 2009 +0200
+++ b/schemas/__init__.py	Fri Jul 24 19:40:46 2009 +0200
@@ -11,3 +11,11 @@
     'add':    ('managers',),
     'delete': ('managers',),
     }
+
+# permissions for relation type that should only set by hooks using unsafe
+# execute, readable by anyone
+HOOKS_RTYPE_PERMS = {
+    'read':   ('managers', 'users', 'guests',),
+    'add':    (),
+    'delete': (),
+    }