Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Feature: an erase option for drivers (delete keeps personal data in the rows)

オープン
#369 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
api, backend, database

調査の方向性

Start by tracing DELETE /v1/drivers/{id} through ProfileAccountManager::releaseForProfile() and inspect how driver orders, activity rows, positions, and request logs are stored and referenced. The issue proposes several possible erase semantics but does not settle how to handle retained orders and proofs or request logs. Done would require an agreed erase behavior that removes personal data while preserving the specified delivery history and leaving staff accounts alone.

索引モデルが issue の本文から書いたものです。

説明

Is your feature request related to a problem? Please describe.

DELETE /v1/drivers/{id} soft-deletes the driver and, through ProfileAccountManager::releaseForProfile(), soft-deletes its managed user. Both rows keep the person's name, email, phone, username and last location. The update endpoint can't clear all of it first (username, for example), and activity rows and api_request_logs still hold the original contact details.

Deployments that must honor a deletion request (GDPR, CCPA, app store account deletion rules) have no API way to remove a driver's personal data.

Describe the solution you'd like

An erase option, for example DELETE /v1/drivers/{id}?erase=true or POST /v1/drivers/{id}/erase, that hard-deletes the driver and its managed login user (staff accounts left alone, as today), removes their activity rows and the driver's positions, and keeps orders and proofs, with the driver reference kept or pointed at a placeholder.

Separately, the soft delete sets driver_assigned_uuid to NULL on the driver's orders, including completed ones, so delivery history loses who made the delivery. That may be worth keeping.

Describe alternatives you've considered

Overwriting the fields with PUT before DELETE, which is what we do now. It leaves the username, activity rows and request logs behind.

Additional context

This would let Fleetbase be used for driver programs where deletion on request is a legal requirement. If you want it, we can send the PR. Fleetbase v0.7.68 (fleetops 0.6.71, core-api 1.6.68).

主要言語
PHP
スター
40
フォーク
72
平均マージ
19時間
マージ済み PR(30日)
66

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fleetbase/fleetops のほかの issue

fleetbase/fleetops の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。