cubicweb/server/querier.py
changeset 12172 8bb323eb6859
parent 12062 601d65193619
child 12241 06deb43c23c3
--- a/cubicweb/server/querier.py	Wed Apr 19 15:09:31 2017 +0200
+++ b/cubicweb/server/querier.py	Thu Apr 20 17:22:36 2017 +0200
@@ -293,7 +293,7 @@
                         if rqlexpr.check(cnx, eid):
                             break
                     else:
-                        raise Unauthorized('No read acces on %r with eid %i.' % (var, eid))
+                        raise Unauthorized('No read access on %r with eid %i.' % (var, eid))
                 # mark variables protected by an rql expression
                 restricted_vars.update(localcheck)
                 # turn local check into a dict key