mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-17 04:32:51 -06:00
#8248: Permit users to manage their own bookmarks by default
This commit is contained in:
parent
aa747c3954
commit
04c5e62d2b
@ -100,6 +100,11 @@ DATETIME_FORMAT = getattr(configuration, 'DATETIME_FORMAT', 'N j, Y g:i a')
|
|||||||
DEBUG = getattr(configuration, 'DEBUG', False)
|
DEBUG = getattr(configuration, 'DEBUG', False)
|
||||||
DEFAULT_DASHBOARD = getattr(configuration, 'DEFAULT_DASHBOARD', None)
|
DEFAULT_DASHBOARD = getattr(configuration, 'DEFAULT_DASHBOARD', None)
|
||||||
DEFAULT_PERMISSIONS = getattr(configuration, 'DEFAULT_PERMISSIONS', {
|
DEFAULT_PERMISSIONS = getattr(configuration, 'DEFAULT_PERMISSIONS', {
|
||||||
|
# Permit users to manage their own bookmarks
|
||||||
|
'extras.view_bookmark': ({'user': '$user'},),
|
||||||
|
'extras.add_bookmark': ({'user': '$user'},),
|
||||||
|
'extras.change_bookmark': ({'user': '$user'},),
|
||||||
|
'extras.delete_bookmark': ({'user': '$user'},),
|
||||||
# Permit users to manage their own API tokens
|
# Permit users to manage their own API tokens
|
||||||
'users.view_token': ({'user': '$user'},),
|
'users.view_token': ({'user': '$user'},),
|
||||||
'users.add_token': ({'user': '$user'},),
|
'users.add_token': ({'user': '$user'},),
|
||||||
|
Loading…
Reference in New Issue
Block a user