Add Duo assistance when creating fine-grained personal access tokens
What does this MR do and why?
Add DUO assistance for helping users select fine-grained permissions when creating personal access tokens.
References
Issue: #592230
Screenshots or screen recordings
How to set up and validate locally
- Follow the GitLab Duo local development setup guide to configure your GDK with the AI gateway and Duo Chat enabled.
- Check out the
add-duo-permission-assistent-flowbranch ingdk/gitlab-ai-gatewayand do agdk restart - Enable these feature flags in a Rails console:
Feature.enable(:granular_personal_access_tokens)Feature.enable(:pat_permissions_suggestions)
- Navigate to
http://gdk.test:3000/-/user_settings/personal_access_tokens/granular/newand click "Set permissions with Duo".
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Alex Buijs