stackabletech / stackabletech/druid-opa-authorizer
Unable to achieve row-level security and column masking using druid-opa-authorizer plugin
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.
-
Authentication: We successfully configured authentication using Druid’s built-in authenticator (druid-basic-security).
-
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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