Enable generate PAT page for service accounts

What does this MR do and why?

On the Admin area -> Settings -> Service accounts page, clicking on the triple dot for a service account has a Manage access tokens link. Clicking on that link shows the personal access tokens for the service account:

Service accounts page Manage access tokens page
ksnip_20251020-153438 ksnip_20251020-153504

Currently, only broad access tokens can be created. We are adding the ability to create a fine-grained personal access token. In a previous MR, a stub page for creating a fine-grained PAT was added, but was only made available to the logged in user. This MR also makes it available to service accounts:

ksnip_20251020-153702

How to set up and validate locally

Keep the fine_grained_personal_access_tokens feature flag disabled for now, and follow this video guide:

2025-10-20_15-39-40

Related to #570705 (closed)

Edited by Daniel Tian

Merge request reports

Loading