[test] Add missing attribute 'add' permission in test schema stable
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 12 Jun 2014 12:28:10 +0200
branchstable
changeset 9925 aee99876eb10
parent 9924 25fc84990ddc
child 9928 0d831b40fa48
[test] Add missing attribute 'add' permission in test schema Silences yams warning.
server/test/data/schema.py
--- a/server/test/data/schema.py	Thu May 01 23:35:56 2014 +0200
+++ b/server/test/data/schema.py	Thu Jun 12 12:28:10 2014 +0200
@@ -92,6 +92,7 @@
     type = String(maxsize=6)
     para = String(maxsize=512,
                   __permissions__ = {
+                      'add': ('managers', ERQLExpression('X in_state S, S name "todo"')),
                       'read':   ('managers', 'users', 'guests'),
                       'update': ('managers', ERQLExpression('X in_state S, S name "todo"')),
                       })