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

Return group instead of just group_name for ApiKeys #37061

Conversation

johnswanson
Copy link
Contributor

Instead of just returning the group_name, the frontend also needs the ID.

@metabase-bot metabase-bot bot added the .Team/AdminWebapp Admin and Webapp team label Dec 21, 2023
@johnswanson johnswanson added no-backport Do not backport this PR to any branch and removed .Team/AdminWebapp Admin and Webapp team labels Dec 21, 2023
Copy link

cypress bot commented Dec 21, 2023

Passing run #1276 ↗︎

0 2201 155 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Return `group` instead of just `group_name` for ApiKeys
Project: Metabase e2e Commit: 8e86c3312e
Status: Passed Duration: 15:51 💡
Started: Jan 2, 2024 8:18 PM Ended: Jan 2, 2024 8:34 PM

Review all test suite changes for PR #37061 ↗︎

@darksciencebase darksciencebase added the .Team/AdminWebapp Admin and Webapp team label Dec 22, 2023
@johnswanson johnswanson force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from 90ca508 to a453302 Compare December 22, 2023 14:37
@johnswanson johnswanson force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from a453302 to f2b8067 Compare December 22, 2023 15:39
@johnswanson johnswanson force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from f2b8067 to 9d668df Compare December 22, 2023 18:04
@johnswanson johnswanson requested a review from a team December 22, 2023 18:17
@shaunlebron shaunlebron force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from 9d668df to 0dda2d9 Compare December 22, 2023 20:27
@shaunlebron shaunlebron force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from 0dda2d9 to f57533a Compare December 22, 2023 22:44
@johnswanson johnswanson force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from f57533a to bef9a1b Compare January 1, 2024 14:52
@johnswanson johnswanson force-pushed the delete-endpoint-for-api-keys branch 3 times, most recently from 1d1ee6c to 6e93a7a Compare January 2, 2024 18:36
Base automatically changed from delete-endpoint-for-api-keys to master January 2, 2024 19:58
The frontend needs the group ID as well as the name, so let's return both in a similar shape as `updated_by`.
@johnswanson johnswanson force-pushed the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch from bef9a1b to 0d29903 Compare January 2, 2024 20:06
@johnswanson johnswanson merged commit 377b713 into master Jan 2, 2024
105 checks passed
@johnswanson johnswanson deleted the 12-21-Return_group_instead_of_just_group_name_with_ApiKeys branch January 2, 2024 20:41
Copy link

github-actions bot commented Jan 2, 2024

@johnswanson Did you forget to add a milestone to the issue for this PR? When and where should I add a milestone?

@johnswanson johnswanson added this to the 0.49 milestone Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Do not backport this PR to any branch .Team/AdminWebapp Admin and Webapp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants