[BE] Token rotation should work for granular PATs
Currently PersonalAccessTokens::RotateService works only for legacy PATs. We need to update the service to work with granular PATs.
The new granular PAT should have:
-
granularattribute set totrue - Associated
granular_scopessimilar to the revoked granular PAT
Edited by 🤖 GitLab Bot 🤖