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] https://www.elastic.co/guide/en/x-pack/current/field-and-document-access-control.html#document-level-security

  • 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: