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?

Thanks,
pablo

[1] Setting Up Field and Document Level Security | X-Pack for the Elastic Stack [6.2] | Elastic

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

0 voters

2 Likes

Here is the matching github issue :

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