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(access): Experimental policy debugger #9833

Merged
merged 8 commits into from
Apr 11, 2024
Merged

Conversation

anshbansal
Copy link
Collaborator

@anshbansal anshbansal commented Feb 14, 2024

Adding an experimental policy debugger API to answer the question

  • What policy apply to this user?
  • What privileges are available?
  • Are the privileges coming due to a role, group or direct policy on user?
  • Where are the privileges coming from?

This does not aim to answer all these questions just makes some of the answers easier to find.
Example output:

(User with role, editor , and group that itself has a role, reader)
Screenshot 2024-04-08 at 10 18 08

(DataHub admin user)
Screenshot 2024-04-08 at 10 15 37

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@pedro93 pedro93 marked this pull request as ready for review April 11, 2024 09:03
Copy link
Collaborator

@pedro93 pedro93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, wait for green CI

@anshbansal anshbansal added the merge-pending-ci A PR that has passed review and should be merged once CI is green. label Apr 11, 2024
@pedro93 pedro93 merged commit 70b1423 into master Apr 11, 2024
62 checks passed
@pedro93 pedro93 deleted the ab-policy-debugger-v1 branch April 11, 2024 13:22
sleeperdeep pushed a commit to sleeperdeep/datahub that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-pending-ci A PR that has passed review and should be merged once CI is green. product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants