[Cubicweb] An rql bug ?
Nicolas Chauvat
nicolas.chauvat at logilab.fr
Wed Feb 11 11:13:04 CET 2015
On Wed, Feb 11, 2015 at 09:48:24AM +0100, Alain Leufroy wrote:
> RRQLExpression('EXISTS(U can_run O) OR EXISTS(U can_run X, O in_project X)')
>
> Adding this permission rule fails with a "type inconsistancy"
> exception from rql.
It is simpler and safer to assume that you can not "share" variables
between the two parts of an OR.
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
More information about the Cubicweb
mailing list