Skip to content

Custom username for deploy tokens

Krasimir Angelov requested to merge 50228-deploy-tokens-custom-username into master

What does this MR do?

Allow users to specify a custom username for deploy tokens that will be used instead of the default one (gitlab+deploy-token-#{id}). Use the specified username in Gitlab::Auth#deploy_token_check.

Empty usernames ("") will be saved as null in the database.

image

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Related to #50228 (closed)

Edited by Mayra Cabrera

Merge request reports

Loading