stackabletech / stackabletech/druid-opa-authorizer

Unable to achieve row-level security and column masking using druid-opa-authorizer plugin

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
5
Forks
5
Avg merge
7d 16h
Merged PRs (30d)
1

Description

Description:

We are currently working on implementing authentication and authorization in Apache Druid using the druid-opa-authorizer plugin.

  1. Authentication: We successfully configured authentication using Druid’s built-in authenticator (druid-basic-security).

  2. Authorization: We are trying to achieve fine-grained access control specifically:

    • Row-level filtering (restricting access to specific rows based on user identity or role)

    • Column-level masking (masking or hiding sensitive columns from specific users)

However, it seems that the druid-opa-authorizer plugin only supports allow/deny access at the resource level (e.g., datasource or system-level actions).
We are unable to enforce row-level filters or column masking policies through OPA responses.

Could you please confirm:

  • Whether row-level security and column masking are currently supported by the druid-opa-authorizer plugin?

  • If not, is there any planned support or recommended workaround for these features?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the druid-opa-authorizer authorization behavior and its documented resource-level policy responses. Determine whether row-level filtering and column masking are supported, and document the supported behavior, planned scope, or recommended workaround; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.