diff -r eb681a030699 -r 4ee15441f2eb schemas/base.py --- a/schemas/base.py Mon Jun 22 14:15:16 2015 +0200 +++ b/schemas/base.py Mon Jun 22 14:27:37 2015 +0200 @@ -26,7 +26,8 @@ Boolean, UniqueConstraint) from cubicweb.schema import ( RQLConstraint, WorkflowableEntityType, ERQLExpression, RRQLExpression, - PUB_SYSTEM_ENTITY_PERMS, PUB_SYSTEM_REL_PERMS, PUB_SYSTEM_ATTR_PERMS) + PUB_SYSTEM_ENTITY_PERMS, PUB_SYSTEM_REL_PERMS, PUB_SYSTEM_ATTR_PERMS, + RO_ATTR_PERMS) class CWUser(WorkflowableEntityType): """define a CubicWeb user""" @@ -160,7 +161,7 @@ class cwuri(RelationType): """internal entity uri""" - __permissions__ = PUB_SYSTEM_ATTR_PERMS + __permissions__ = RO_ATTR_PERMS cardinality = '11' subject = '*' object = 'String'