After a factory reset the same phone enrolls under a new device id; the old record stays in the console
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
Direzione di ricerca
Start with docs/adr/0003, which says device ids are server-issued and kept in the agent store, so a wipe loses them. Then trace the enrollment request and the device record lookup to see where duplicate prevention checks, and read #137 for the wiped-device state. Done means a design decision on which hardware identifier to match on and how a wiped record is reclaimed or closed, agreed with maintainers before any code changes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Area
Admin console (web)
The problem
Steps: enroll a phone by QR, send "Factory reset" from the console, set the phone up again and enroll it with the same QR/token flow. Result: the old record stays in the list, and the phone appears as a second, new device with a new id. The old record has to be deleted by hand. (Related: #137 about showing wiped devices.)
Expected: the re-enrolled phone is matched to its previous record by a stable hardware identifier (Headwind MDM does this by serial/IMEI and keeps the existing device name), or a wiped record is closed/removed automatically. I could not find why the existing duplicate prevention did not merge the two (docs/adr/0003 says ids are server-issued and kept in the agent store, so a wipe loses them).
Proposed solution
- Match on re-enrollment: send a stable hardware identifier with the enrollment request (e.g. the enrollment-specific ID on Android 12+, or serial/IMEI where the platform allows it). If a record with the same identifier already exists in the same customer, reuse it (keep name, group and configuration) instead of creating a new device. Headwind MDM does exactly this by serial/IMEI and it avoids duplicates after a wipe.
- Mark the record "wiped" when the factory-reset command is acknowledged (see #137), so the next enrollment with the same identifier can reclaim it.
- Optional: a console action "Merge into..." for the manual case, and an option to auto-remove wiped records after N days.
Alternatives considered
No response
Before submitting
- I searched existing issues and discussions for the same idea.
- Lingua principale
- Java
- Stelle
- 44
- Fork
- 25
- Merge medio
- 1g 13h
- PR unite (30g)
- 80
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MDMesh-app/MDMesh
-
enhancement
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
MDMesh-app/MDMesh#252 ·
I maintainer di solito rispondono entro 2 giorni
-
Change Kiosk TitleApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
MDMesh-app/MDMesh#253 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
MDMesh-app/MDMesh#232 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
MDMesh-app/MDMesh#205 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
MDMesh-app/MDMesh#204 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di MDMesh-app/MDMesh
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug devops low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
aphtech/brailleblaster#209 ·
I maintainer di solito rispondono entro 1 giorno