Added missing keywords to the yaml

... and moved some documentatory comments to the beginning of the file.
This commit is contained in:
Christian Mäder 2020-01-31 11:37:05 +01:00
parent a2c06026d5
commit ba3176f140
2 changed files with 27 additions and 3 deletions

View file

@ -1,10 +1,21 @@
## To list all permissions, run:
##
## docker-compose run --rm --entrypoint /bin/bash netbox
## $ ./manage.py migrate
## $ ./manage.py shell
## > from django.contrib.auth.models import Permission
## > print('\n'.join([p.codename for p in Permission.objects.all()]))
##
## Permission lists support wildcards. See the examples below.
##
## Examples:
# technical_user:
# api_token: 0123456789technicaluser789abcdef01234567 # must be looooong!
# reader:
# password: reader
# writer:
# password: writer
## specify explicit permission codenames or include wildcard to match multiple permissions
# permissions:
# - delete_device
# - delete_virtualmachine