forked from idaholab/Malcolm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert netbox permissions changes, going to make the old way work
- Loading branch information
Showing
3 changed files
with
116 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
Oops, something went wrong.