[Cubicweb] An rql bug ?

aurélien campéas aurelien.campeas at gmail.com
Wed Feb 4 16:00:13 CET 2015


It does the trick ! Thank you very much :)

Regards,
Aurélien.

2015-02-04 15:58 GMT+01:00 aurélien campéas <aurelien.campeas at gmail.com>:

> Ah ok, I'll try that, thanks.
>
> Regards,
> Aurélien.
>
>
> 2015-02-04 15:57 GMT+01:00 Christophe de Vienne <christophe at unlish.com>:
>
>> Hi Aurelien
>>
>> try using a different var name in the second or 'leg' (not SC). I had
>> problems when using a same varname in 2 exists, it may be related
>>
>> cheers
>>
>>
>> aurélien campéas a écrit :
>>
>> Hello list,
>>
>> I'm trying to implement a red-security policy for an etype, which reads
>> like:
>>
>> EXISTS(X for_babar SC, U canread SC) OR NOT EXISTS(X for_babar SC)
>>
>> Pb. is when I test each of the legs of the OR independently, they work
>> well.
>> When composed, I get forbidden elements ...
>>
>>
>> I guess I must dig the sql side now ...
>>
>> Regards,
>> Aurélien.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20150204/37d2007a/attachment-0165.html>


More information about the Cubicweb mailing list