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

Annotate endpoints that are secured at the workspace level #22168

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

jdpgrailsdev
Copy link
Contributor

What

  • Identify endpoints that require workspace-level roles for authentication

How

  • Add a marker annotation that can be used to identify workspace-level secured endpoints
  • Update existing endpoints that currently use workspace-level authentication in cloud

The authentication provider in cloud will scan for these annotations to build a list of endpoints that require fetching workspace roles for a user.

Recommended reading order

  1. SecuredWorkspace.java
  2. *Controller.java

Tests

  • All tests pass
  • Project builds locally
  • Tested in Cloud with new Micronaut authentication provider

@jdpgrailsdev jdpgrailsdev requested a review from a team as a code owner January 31, 2023 20:37
@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/server labels Jan 31, 2023
@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets January 31, 2023 20:39 — with GitHub Actions Inactive
@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets January 31, 2023 20:39 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants