Document level security

Hi Simone,

SHIELD offers document level security like [1]. The basic idea is that it can restrict which documents inside an index can be read following an elasticsearch query like

"query" : {
        "term" : { "department_id" : 12 }

and then, that rule will filter the results to give back only those documents that satisfy the extra condition.

Would it be possible to have something similar in ROR?



  • I would use it today
  • Good to have
  • Uninterested

0 voters


Here is the matching github issue :

You might want to keep an eye on this PR :star_struck: