Document level security

(Psaiz) #1

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

(Fabien Baligand) #2

Here is the matching github issue :

(Simone Scarduzio) #3

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