Set group_id and user_type for human users' personal access tokens
-
Ensure that when creating a personal access token for human user we set group_idanduser_typefor the new token. -
Ensure that when rotating a personal access token for human user we set group_idanduser_typefor the new token. -
Ensure that Groups::EnterpriseUsers::AssociateServicethat claims a user, setsgroup_idto the group ID for the user's personal_access_tokens. -
Ensure that Groups::EnterpriseUsers::DisassociateServicethat disassociates a user from the group, setsgroup_idto NULL for the user's personal_access_tokens. -
Add DB migration to set group_idbased onuser_details.enterprise_group_idanduser_typebased onusers.user_typefor existing human users' personal_access_tokens.
Edited by Bogdan Denkovych