schemas/bootstrap.py
changeset 9395 96dba2efd16d
parent 9375 8e88576787c3
child 9956 19a683a0047c
--- a/schemas/bootstrap.py	Fri Jan 10 16:37:12 2014 +0100
+++ b/schemas/bootstrap.py	Thu Oct 24 13:15:53 2013 +0200
@@ -236,7 +236,7 @@
     """groups allowed to add entities/relations of this type"""
     __permissions__ = PUB_SYSTEM_REL_PERMS
     name = 'add_permission'
-    subject = ('CWEType', 'CWRelation')
+    subject = ('CWEType', 'CWRelation', 'CWAttribute')
     object = 'CWGroup'
     cardinality = '**'
 
@@ -269,7 +269,7 @@
     """rql expression allowing to add entities/relations of this type"""
     __permissions__ = PUB_SYSTEM_REL_PERMS
     name = 'add_permission'
-    subject = ('CWEType', 'CWRelation')
+    subject = ('CWEType', 'CWRelation', 'CWAttribute')
     object = 'RQLExpression'
     cardinality = '*?'
     composite = 'subject'