Prepare outbound token UI for deprecation
What does this MR do and why?
This changes the UI for the outbound CI access token to announce the eventual deprecation of the feature. This is behind the frozen_outbound_job_token_scopes
feature flag.
Screenshots or screen recordings
Before | After |
---|---|
The feature can no longer be enabled once disabled
Screen_Recording_2023-04-24_at_13.16.33
How to set up and validate locally
- Enable the
frozen_outbound_job_token_scopes
feature flagbundle exec rails c && echo "Feature.enable(:frozen_outbound_job_token_scopes)"
- Go to any project -> Settings -> CI/CD -> Job Token
- Verify that the
Limit CI_JOB_TOKEN
section is disabled
If you want to test you can't enable the feature again once it has been disabled
- Disable the
frozen_outbound_job_token_scopes
feature flagbundle exec rails c && echo "Feature.disable(:frozen_outbound_job_token_scopes)"
- Go to any project -> Settings -> CI/CD -> Job Token
- Enable the
Limit CI_JOB_TOKEN
toggle - Reenable the feature flag
- Go back to the
Limit CI_JOB_TOKEN
section and disable the toggle and try to enable it
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jose Ivan Vargas