Add inbound token access feature - UI
What does this MR do and why?
This MR adds the ability in the UI to allow certain projects access to your project by a CI_JOB_TOKEN. This code is behind the feature flag :ci_inbound_job_token_scope
.
Things to note while reviewing this MR...
- The code is written in a way so we can easily remove the outbound access in %16.0
- The
inbound_token_access.vue
component is essentially a carbon copy of the outbound component. Just some copy changes and mutation/query structure changes. - You'll see some code repeated, but this is okay. Since we will be removing the outbound logic in an upcoming milestone.
- At first I didn't know we were removing the feature completely, so I tried to open an MR that made the two live together a little more nicely. But it's not needed anymore...
Screenshots or screen recordings
flag off | flag on |
---|---|
How to set up and validate locally
- Enable the flag
Feature.enable(:ci_inbound_job_token_scope)
- Project > Settings > CI/CD > Token Access
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.
Related to #375782 (closed)
Edited by Payton Burdette