Add a description field to ObjectPermission #3936

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

Originally created by @jeremystretch on GitHub (Aug 3, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: v2.9-beta1

Proposed Functionality

Add a free-form description field to the ObjectPermission model

Use Case

Although the ObjectPermission model has a name field, this is intended to be brief and easily referenced. A separate description field enables an administrator to record more descriptive commentary as a discrete attribute of each permission.

Database Changes

Add a CharField named description to the ObjectPermission model. Because this change applies to a beta release, no new schema migration is necessary: The current 0008_objectpermission migration will be updated to reflect the change.

External Dependencies

None

Originally created by @jeremystretch on GitHub (Aug 3, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.9 * NetBox version: v2.9-beta1 ### Proposed Functionality Add a free-form `description` field to the ObjectPermission model ### Use Case Although the ObjectPermission model has a `name` field, this is intended to be brief and easily referenced. A separate description field enables an administrator to record more descriptive commentary as a discrete attribute of each permission. ### Database Changes Add a CharField named `description` to the ObjectPermission model. Because this change applies to a beta release, no new schema migration is necessary: The current `0008_objectpermission` migration will be updated to reflect the change. ### External Dependencies None
adam added the status: acceptedtype: featurebeta labels 2025-12-29 18:32:09 +01:00
adam closed this issue 2025-12-29 18:32:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3936