diff --git a/internal/auth/users.go b/internal/auth/users.go index fbdc08d..aea5eb3 100644 --- a/internal/auth/users.go +++ b/internal/auth/users.go @@ -143,7 +143,7 @@ func (auth *Authentication) RemoveRole(ctx context.Context, username string, rol return err } - if role != RoleAdmin && role != RoleApi && role != RoleUser { + if role != RoleAdmin && role != RoleApi && role != RoleUser && role != RoleSupport { return fmt.Errorf("invalid user role: %#v", role) }