1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #4943: Add a 'description' field to ObjectPermission

This commit is contained in:
Jeremy Stretch
2020-08-03 16:27:14 -04:00
parent ce2dada9fd
commit 053c600b67
6 changed files with 16 additions and 3 deletions

View File

@@ -54,4 +54,6 @@ class ObjectPermissionSerializer(ValidatedModelSerializer):
class Meta:
model = ObjectPermission
fields = ('id', 'url', 'name', 'enabled', 'object_types', 'groups', 'users', 'actions', 'constraints')
fields = (
'id', 'url', 'name', 'description', 'enabled', 'object_types', 'groups', 'users', 'actions', 'constraints',
)