# HG changeset patch # User Sylvain Thénault # Date 1396607859 -7200 # Node ID 0176da9bc75293e200de4f7b934c5d4c7c805199 # Parent bde625698f44765a3e33b5a99136ed0ccb13431a [test/data] Add missing 'add' permission on attribute Silences a warning introduced in 3.18. diff -r bde625698f44 -r 0176da9bc752 test/data/rrqlexpr_on_attr.py --- a/test/data/rrqlexpr_on_attr.py Tue Apr 01 18:09:46 2014 +0200 +++ b/test/data/rrqlexpr_on_attr.py Fri Apr 04 12:37:39 2014 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +# copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of CubicWeb. @@ -15,9 +15,7 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -""" -""" from yams.buildobjs import EntityType, RelationType, String from cubicweb.schema import RRQLExpression @@ -34,4 +32,5 @@ __permissions__ = { 'read': ('managers', ), 'update': ('managers', RRQLExpression('S bla Y'),), + 'add': ('managers', RRQLExpression('S bla Y'),), }