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

UI: Skip OpenAPI call for unmanaged auth methods #25364

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

hashishaw
Copy link
Collaborator

@hashishaw hashishaw commented Feb 12, 2024

This PR skips the OpenAPI call on auth methods which are not managed in the UI. Resolves #24160

@hashishaw hashishaw added the ui label Feb 12, 2024
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Feb 12, 2024
@hashishaw hashishaw changed the title UI/no path help unmanaged auth methods UI/ Skip OpenAPI call for unmanaged auth methods Feb 12, 2024
@hashishaw hashishaw changed the title UI/ Skip OpenAPI call for unmanaged auth methods UI: Skip OpenAPI call for unmanaged auth methods Feb 12, 2024
Copy link

github-actions bot commented Feb 12, 2024

CI Results:
All Go tests succeeded! ✅

Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

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

Any test coverage we can add for this? Might help us make sure we're covering any situations we're not considering.

@hashishaw
Copy link
Collaborator Author

Any test coverage we can add for this? Might help us make sure we're covering any situations we're not considering.

We already have test coverage that the tabs are expected on the pages where I'm removing the call, so I figured that is sufficient. But if you have ideas of other scenarios to test for this I'm open to it!

@hashishaw hashishaw marked this pull request as ready for review February 12, 2024 19:38
Copy link

github-actions bot commented Feb 12, 2024

Build Results:
All builds succeeded! ✅

@hashishaw hashishaw added this to the 1.14.10 milestone Feb 12, 2024
Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

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

Test coverage looks good. Took a closer look and anything else seems like duplicating what we already look at. Thank you!

@hashishaw hashishaw force-pushed the ui/no-path-help-unmanaged-auth-methods branch from c6bf477 to 470822f Compare February 14, 2024 19:26
@hashishaw
Copy link
Collaborator Author

Rebased from main so I wouldn't have any merge conflicts on the backport with the inject as service import change

@hashishaw hashishaw enabled auto-merge (squash) February 14, 2024 19:27
@hashishaw hashishaw merged commit 59577f4 into main Feb 14, 2024
26 checks passed
@hashishaw hashishaw deleted the ui/no-path-help-unmanaged-auth-methods branch February 14, 2024 19:36
hashishaw added a commit that referenced this pull request Feb 14, 2024
* Skip fetching OpenAPI if the auth method is not managable in the UI. Fixes #24160

* remove map

* add changelog
hashishaw added a commit that referenced this pull request Feb 14, 2024
* Skip fetching OpenAPI if the auth method is not managable in the UI. Fixes #24160

* remove map

* add changelog
hashishaw added a commit that referenced this pull request Feb 14, 2024
:q:q:
* Skip fetching OpenAPI if the auth method is not managable in the UI. Fixes #24160

* remove map

* add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessing UI at path /ui/vault/access/token/configuration creates unexpectedly large audit message
2 participants