Skip to content

Commit

Permalink
Revert netbox permissions changes, going to make the old way work
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Nov 21, 2024
1 parent 69ef3ac commit 6415d7a
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 591 deletions.
18 changes: 9 additions & 9 deletions config/netbox.env.example
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
CORS_ORIGIN_ALLOW_ALL=True
ENFORCE_GLOBAL_UNIQUE=False
EXEMPT_VIEW_PERMISSIONS=*

# If using the NetBox interface to create API tokens, set this
# (see https://docs.djangoproject.com/en/4.1/ref/settings/#csrf-trusted-origins)
# CSRF_TRUSTED_ORIGINS=https://malcolm.example.org
CSRF_TRUSTED_ORIGINS=http://* https://*

# Remote authentication support allows Malcolm users to be created in NetBox automatically
# see https://github.com/netbox-community/netbox/blob/develop/docs/configuration/remote-authentication.md
REMOTE_AUTH_ENABLED=True
REMOTE_AUTH_BACKEND=netbox.authentication.RemoteUserBackend
REMOTE_AUTH_AUTO_CREATE_USER=True
REMOTE_AUTH_HEADER=HTTP_X_REMOTE_AUTH
# REMOTE_AUTH_DEFAULT_PERMISSIONS is handled in extra.py

REMOTE_AUTH_AUTO_CREATE_USER=True
REMOTE_AUTH_DEFAULT_GROUPS=standard
REMOTE_AUTH_DEFAULT_PERMISSIONS=standard_permission
REMOTE_AUTH_STAFF_GROUPS=administrator
REMOTE_AUTH_STAFF_USERS=
REMOTE_AUTH_SUPERUSER_GROUPS=administrator
REMOTE_AUTH_SUPERUSERS=
ENFORCE_GLOBAL_UNIQUE=False
EXEMPT_VIEW_PERMISSIONS=*
DB_HOST=netbox-postgres
DB_NAME=netbox
[email protected]
Expand Down
Loading

0 comments on commit 6415d7a

Please sign in to comment.