Set group_id and user_type for resource access tokens
-
Ensure that when creating a personal access token for project_bot user we set group_idanduser_typefor the new token. -
Ensure that when rotating a personal access token for project_bot user we set group_idanduser_typefor the new token. -
Add DB migration to set group_idanduser_typeto existing project_bots' personal_access_tokens. Evaluate top-level group ID fromuser_details.bot_namespace_id.
Edited by Bogdan Denkovych