Hello,
Is it possible to use ‘OR’ condition in documents authorization policies? I found such example in documentation, but it doesnt seem to work. In my case I would like to add the following condition to the template in repository policy defninition:
“‘LegalEntity.ExternalData.Code:code OR LegalEntity.Active:true’”
Hi @m.stepniewski,
AFAIK, with the current Dataservices version, it is not possible to use OR filter like that. You can only use OR filter in the values of a certain field, something like this:
“LegalEntity.ExternalData.Code:(code1 OR code2)".
Thanks for your answer. Do you know if there are plans to implement it?
There is a ticket for this feature A12-12037