Set group_id and user_type for service accounts' personal access tokens
-
Ensure that when creating a personal access token for service account we set group_idanduser_typefor the new token. -
Ensure that when rotating a personal access token for service account we set group_idanduser_typefor the new token. -
Add DB migration to set group_idto existing service accounts' personal_access_tokens based onuser_details.provisioned_by_group_idand setuser_type.
Edited by Andrew Evans