An error occurred while fetching this tab.
Update the token expiration banner (17.0)
Merged
requested to merge eduardosanz/token-expiration-banner-backport-17-0-second-part into 17-0-stable-ee
- Jul 16, 2024
-
-
Eduardo Sanz García authored
-
Eduardo Sanz García authored
-
- Jul 15, 2024
-
-
Eduardo Sanz García authored
Show the token expiration banner only when the database migration job `CleanupPersonalAccessTokensWithNilExpiresAt` (https://gitlab.com/gitlab-org/gitlab/-/blob/master/db/docs/batched_background_migrations/cleanup_personal_access_tokens_with_nil_expires_at.yml) has run. `CleanupPersonalAccessTokensWithNilExpiresAt` database migration job turned non-expiring tokens (expires_at `nil`) to expiring.
-
Eduardo Sanz García authored
Reviews in 16.0-17.0 backports have introduced a few changes and we would like to bring those to master: - hide banner depending on `GITLAB_DISABLE_TOKEN_EXPIRATION_BANNER` env variable - hide banner on tests - updated banner message and use a namespace - correct GitLab version check
-