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

Adding the user who created a token to the flyctl token list command #3383

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

moss-fly
Copy link
Contributor

Change Summary

What and Why:
Added a created by column to the fly tokens list app and org scope so someone can figure out who created the tokens in an org if they ever need to revoke them. This info is currently exposed in ui-ex but the UX of going through all org/app tokens in an org an revoking them is pretty painful.

How:
Changed the user field in LimitedAccessTokens to public

Related to:
superfly/fly-go#25
https://github.com/superfly/web/pull/2909
https://flyio.slack.com/archives/C035ZMAM206/p1710767524505839?thread_ts=1710737001.723769&cid=C035ZMAM206

@moss-fly moss-fly requested a review from btoews March 19, 2024 00:46
Copy link
Member

@btoews btoews left a comment

Choose a reason for hiding this comment

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

As the test failures' 18 line comments subtly hint at, you'll have to update the GraphQL query too 😆 Otherwise, LGTM

@moss-fly moss-fly merged commit aa25da8 into master Mar 20, 2024
28 of 39 checks passed
@moss-fly moss-fly deleted the moss-token-createdby branch March 20, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants