NEMO External Users
NEMO plugin allowing users to create and manage their own accounts.
Installation
-
Install the package using pip
pip install NEMO-external-users
-
Edit settings.py
-
Add the plugin to your INSTALLED_APPS:
INSTALLED_APPS = [ "django.contrib.sites", ..., "NEMO_external_users", "NEMO", ..., ]
It's important that "NEMO_external_users" is added before "NEMO" (it overrides some of the templates).
-
Extend authentication backends:
AUTHENTICATION_BACKENDS = [ ..., 'NEMO_external_users.backends.SettingsBackend', 'NEMO_external_users.backends.ExternalUsersBackend', ]
-
Add to context_processors:
'NEMO.context_processors.show_logout_button',
-
-
Run migrations
python manage.py migrate
Settings
# Default projects to which new users will be assigned
NEMO_EXTERNAL_USERS_NEW_USER_PROJECTS = [...]
# Default tool qualification groups to which new users will be assigned
NEMO_EXTERNAL_USERS_NEW_USER_TOOL_QUALIFICATION_GROUPS = [...]
# Default tools to which new users will be assigned
NEMO_EXTERNAL_USERS_NEW_USER_TOOLS = [...]
# Permissions for the new users (boolean)
NEMO_EXTERNAL_USERS_NEW_USER_IS_STAFF = False
NEMO_EXTERNAL_USERS_NEW_USER_IS_USER_OFFICE = False
NEMO_EXTERNAL_USERS_NEW_USER_IS_ACCOUNTING_OFFICER = False
NEMO_EXTERNAL_USERS_NEW_USER_IS_FACILITY_MANAGER = False
NEMO_EXTERNAL_USERS_NEW_USER_IS_ADMINISTRATOR = False
NEMO_EXTERNAL_USERS_NEW_USER_IS_TECHNICIAN = False
NEMO_EXTERNAL_USERS_NEW_USER_IS_SERVICE_PERSONNEL = False
# Indicator if training is required for the new users
NEMO_EXTERNAL_USERS_NEW_USER_TRAINING_REQUIRED = True
Metadata
Release files for NEMO-external-users 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nemo_external_users-0.1.0.tar.gz | 11.6 kB | Without provenance | Details for nemo_external_users-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nemo_external_users-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nemo_external_users-0.1.0-py3-none-any.whl |
Total release size: 27.8 kB
Release files / nemo_external_users-0.1.0.tar.gz
| Download URL | nemo_external_users-0.1.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a229bcd5129233e75b7bde1f466cdd4c6c30dcf55e51bc49bb4837fa9b9086a4
|
|
BLAKE2b-256 checksum How to use checksums |
f4afb643efd5beb33874f947e3e53db0838a696aeb680ca8d1e03bd5172b6d44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / nemo_external_users-0.1.0-py3-none-any.whl
| Download URL | nemo_external_users-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c15469230844ad2882bf06c7e18315775c4e4ffb21acdcea0cbbeab269376338
|
|
BLAKE2b-256 checksum How to use checksums |
7946a20d8818d499fe40b348c1ea712e0e21ba922bf1f9652a8ad21612084be4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for NEMO-external-users 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.