rqlrewrite.py
changeset 8112 d3f1e28d5bdb
parent 8074 a7f76e322659
child 8147 335b358c7017
--- a/rqlrewrite.py	Mon Dec 05 16:59:20 2011 +0100
+++ b/rqlrewrite.py	Wed Dec 07 10:53:05 2011 +0100
@@ -249,7 +249,7 @@
                     self.insert_snippet(varmap, rqlexpr.snippet_rqlst, exists)
         if varexistsmap is None and not inserted:
             # no rql expression found matching rql solutions. User has no access right
-            raise Unauthorized() # XXX bad constraint when inserting constraints
+            raise Unauthorized() # XXX may also be because of bad constraints in schema definition
 
     def insert_snippet(self, varmap, snippetrqlst, parent=None):
         new = snippetrqlst.where.accept(self)