--- 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',),