Skip to content

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_id and user_type for the new token.
  • Ensure that when rotating a personal access token for project_bot user we set group_id and user_type for the new token.
  • Add DB migration to set group_id and user_type to existing project_bots' personal_access_tokens. Evaluate top-level group ID from user_details.bot_namespace_id.
Edited by Bogdan Denkovych