You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add name and token_last_characters to ApiToken #58918
I had a PR that accomplishes this on the backend (see #58876), but it needs to be broken up into three different ones in order to avoid any weird states and running multiple backfills.
### Tasks
- [x] Add nullable `name` and `token_last_characters` fields to the `ApiToken` model
- [x] Update the `.save()` method on `ApiToken` to add the `token_last_characters` on new `ApiToken`s
- [x] Run a backfill migration that updates existing tokens and sets the `token_last_characters`
- [x] Update backend serializer to handle optional `name` field for the `ApiToken`
- [x] Update frontend to display and allow name to be set for `ApiToken`s
Activity
feat: add name and token_last_characters to apitoken (#58945)
feat: apitoken last characters option (#62972)
migration: backfill apitoken last characters (#63342)
feat: apitoken last characters option (#62972)
migration: backfill apitoken last characters (#63342)
feat: add support for `name` on api token endpoints (#64493)
feat: add support for `name` on api token endpoints (#64493)