mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #2479: Add user permissions for creating/modifying API tokens
This commit is contained in:
@@ -43,7 +43,7 @@ class Token(models.Model):
|
||||
)
|
||||
|
||||
class Meta:
|
||||
default_permissions = []
|
||||
pass
|
||||
|
||||
def __str__(self):
|
||||
# Only display the last 24 bits of the token to avoid accidental exposure.
|
||||
|
Reference in New Issue
Block a user