Migration does not identify which permissions need recreating

Aperta
#120 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@pheus ci sta già lavorando.

Dal 6/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

app: scripts Bucket: KTLO severity: low status: accepted type: bug
Plugin Version

v0.0.1

NetBox Version

v4.7.1

Python Version

3.12

Steps to Reproduce
  1. On a NetBox installation with built-in Custom Scripts, create two Object Permissions under Admin with the same name, such as built-in scripts. Grant both View and Run on Extras > Script, but give them different constraints: {"name": "Deploy"} and {"name": "Report"}.
  2. Complete the migration through Repoint references.
  3. Open the migration run's detail page and review its warnings, then run Verify.
Expected Behavior

Each permission left withdrawn for manual recreation is identified by its name and ID, so operators can distinguish permissions with the same name and see a separate warning for each.

Observed Behavior

Repoint references reports two constrained permissions, but the migration run stores only one warning:

Permission "built-in scripts" carries constraints on the built-in Custom Scripts, so it was left withdrawn and untranslated. Recreate it by hand against the plugin models.

Verify reports:

2 permission(s) could not be moved onto the plugin and were left withdrawn for you to recreate: built-in scripts, built-in scripts.

Since NetBox allows Object Permissions to share a name, neither message identifies which permission needs attention.

Lingua principale
Python
Stelle
8
Fork
0
Merge medio
11h 22m
PR unite (30g)
40

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di netbox-community/netbox-scripts

Tutte le issue di netbox-community/netbox-scripts

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.