Groups::DeployTokens::RevokeService should return ServiceResponse
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
What does this MR do and why?
The Groups::DeployTokens::RevokeService should return a ServiceResponse instead of a boolean.
In order to be able to use the RevokeService for Group deploy tokens in the new Admin Revoke API, we need to make sure that all RevokeServices return the same response. Therefore, this MR changes the RevokeService to return a ServiceResponse.
This is necessary for !170421 (merged)
Related Issue: #499958 (closed)
MR acceptance checklist
MR Checklist ( @nwittstruck)
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
How to set up and validate locally
See !153376 (merged) to test that the existing Group Revokation API still works.
Related to #499958 (closed)
Edited by 🤖 GitLab Bot 🤖