Skip to content

Implement write ability for DLS/FLS via an ingest pipeline and special index privileges  #29961

@elasticmachine

Description

@elasticmachine

Original comment by @geekpete:

Context

First, for context, this is the original source of this idea (Thanks @tvernum !):
LINK REDACTED

I was asking on behalf of a customer if we currently support or will support in the future, write access via DLS/FLS security. The customer was building a comment system against a parent child schema where child docs are comments/tags off read only parent docs. Users would be restricted by DLS to what parent docs they can see and comment on and each user would also only be allowed to edit their own created comments.

Feature

Provide some security related ingest processors for an ingest pipeline that would allow users to perform writes to indices that have special security permissions set to allow a method for users with DLS/FLS restrictions to perform controlled writes to indices.

So a privilege on an index that said “allow write, but only via pipeline XYZ” and then allowed the cluster admin to write a script processor that references the user’s roles, they’d get something loosely like an insert/update trigger in SQL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions