[test/data] Add missing 'add' permission on attribute stable cubicweb-centos-version-3.18.4-1 cubicweb-debian-version-3.18.4-1 cubicweb-version-3.18.4
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 04 Apr 2014 12:37:39 +0200
branchstable
changeset 9633 0176da9bc752
parent 9600 bde625698f44
child 9634 e01121bbd4fe
[test/data] Add missing 'add' permission on attribute Silences a warning introduced in 3.18.
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 <http://www.gnu.org/licenses/>.
-"""
 
-"""
 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'),),
         }