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

More flexible opa #223

Closed
wants to merge 6 commits into from
Closed

More flexible opa #223

wants to merge 6 commits into from

Conversation

Parsifal-M
Copy link
Owner

What type of PR is this?

Caution, here be dragons! 🚨

Please check the category that applies:

  • Feature
  • Bug Fix
  • Refactor
  • Documentation Update

Description

This PR will add functionality to the OPA Permissions Wrapper:

  • You can still use it to work with the Permissions Framework (no change)
  • You will be able to use it as a middleware in your own plugins to better control Authz (a new middleware method and a new method to call that will directly use OPA and bypass the permissions framework if required)
  • You can then control in your frontend plugins how to handle the decision made by OPA (i.e. 403 'Forbidden')

Related Issues

It touches a little on #148

Testing

  • I have included or updated unit tests for my changes.
  • I would like some help writing tests.
  • These changes do not require tests.

Signed-off-by: Peter Macdonald <[email protected]>
…thods to the opa client for both permissions framework and standard opa policies

Signed-off-by: Peter Macdonald <[email protected]>
Signed-off-by: Peter Macdonald <[email protected]>
Copy link

changeset-bot bot commented Sep 10, 2024

⚠️ No Changeset found

Latest commit: f7a47e5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Signed-off-by: Peter Macdonald <[email protected]>
@Parsifal-M
Copy link
Owner Author

Closing this as I am working on another different approach which I will raise a PR for sometime next week.

@Parsifal-M Parsifal-M closed this Sep 27, 2024
@Parsifal-M Parsifal-M deleted the more-flexible-opa branch October 31, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant