Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(superset): Role mapping from OPA #979

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

labrenbe
Copy link
Member

@labrenbe labrenbe commented Jan 21, 2025

Description

  • Add a python module containing a custom security manager
  • During authorization role mappings are fetched from OPA overriding pre-existing role mappings in Superset's database
  • OPA results are cached with configurable cache size and duration

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Tasks

Preview Give feedback
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

bake --product <product> --image-version <stackable-image-version>
kind load docker-image <image-tagged-with-the-major-version> --name=<name-of-your-test-cluster>

See the output of bake to retrieve the image tag for <image-tagged-with-the-major-version>.

@Maleware Maleware marked this pull request as ready for review January 22, 2025 08:32
@Maleware Maleware self-assigned this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants