Standardize secret creation URL #3477

Closed
opened 2025-12-29 18:29:25 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Mar 13, 2020).

Proposed Changes

Change the URL for creating new Secrets to match the standard form for all models; from

/dcim/devices/<id>/add-secret/

to

/secrets/secrets/add/?rack_id=<id>

Justification

This provides a more consistent URL scheme and allows us to include the view using our stock test case without modifications. It also makes for a slightly cleaner user experience.

Originally created by @jeremystretch on GitHub (Mar 13, 2020). ### Proposed Changes Change the URL for creating new Secrets to match the standard form for all models; from ``` /dcim/devices/<id>/add-secret/ ``` to ``` /secrets/secrets/add/?rack_id=<id> ``` ### Justification This provides a more consistent URL scheme and allows us to include the view using our stock test case without modifications. It also makes for a slightly cleaner user experience.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 18:29:25 +01:00
adam closed this issue 2025-12-29 18:29:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3477