test/data/rrqlexpr_on_attr.py
branchreldefsecurity
changeset 3877 7ca53fc72a0a
parent 2634 273eec072cf8
child 4252 6c4f109c2b03
--- a/test/data/rrqlexpr_on_attr.py	Wed Nov 18 09:16:38 2009 +0100
+++ b/test/data/rrqlexpr_on_attr.py	Thu Nov 19 12:55:47 2009 +0100
@@ -9,7 +9,7 @@
 from cubicweb.schema import RRQLExpression
 
 class ToTo(EntityType):
-    permissions = {
+    __permissions__ = {
         'read': ('managers',),
         'add': ('managers',),
         'update': ('managers',),
@@ -18,7 +18,7 @@
     attr = String()
 
 class attr(RelationType):
-    permissions = {
+    __permissions__ = {
         'read': ('managers', ),
         'add': ('managers', RRQLExpression('S bla Y'),),
         'delete': ('managers',),