fix: Deleting a user from a group should only delete from a single group (#5977)

This commit is contained in:
Steven Masley
2023-02-02 09:46:42 -06:00
committed by GitHub
parent 271d68c862
commit ab1f6ce090
5 changed files with 32 additions and 14 deletions

View File

@ -23,7 +23,7 @@ type sqlcQuerier interface {
DeleteAPIKeysByUserID(ctx context.Context, userID uuid.UUID) error
DeleteGitSSHKey(ctx context.Context, userID uuid.UUID) error
DeleteGroupByID(ctx context.Context, id uuid.UUID) error
DeleteGroupMember(ctx context.Context, userID uuid.UUID) error
DeleteGroupMemberFromGroup(ctx context.Context, arg DeleteGroupMemberFromGroupParams) error
DeleteLicense(ctx context.Context, id int32) (int32, error)
DeleteOldAgentStats(ctx context.Context) error
DeleteParameterValueByID(ctx context.Context, id uuid.UUID) error