Hi
I’ve seen previous questions about combining DLS rules from different roles but none ever seem to have a definitive answer.
I have two roles that have DLS rules/queries and they seem to be OR’d together (I see documents that match either rule). Is there any way at all I can get two ‘restrictive’ DLS rules from different roles to apply at the same time?
All of these different rules seem to work in isolation (I always see documents with either security_fields.otag_1 = 43 OR chronology_id = 15 but I want to see only the single document where both security_fields.otag_1 = 43 and chronology_id = 15.
I’ve also tried one role with the term query and the other with the bool query, still get documents where either is true.