wagtail-impersonate
Wagtail extension to allow superusers to "impersonate" other accounts.
Version: 0.1.0
Author: Stepan Pliaskin (https://plyask.in/)
Dependencies
- Wagtail 6.1 and newer.
- django-impersonate 1.9.4 and newer.
Installation
PIP:
pip install wagtail-impersonate
Use
-
Add
impersonateandwagtail-impersonateto yourINSTALLED_APPS -
Add
impersonate.middleware.ImpersonateMiddlewareto yourMIDDLEWAREsetting. -
Add
impersonate.urlssomewhere in your url structure. Example:urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^impersonate/', include('impersonate.urls')), ... (all your other urls here) ... )
Note: The ImpersonationMiddleware class should be placed AFTER the
django.contrib.auth.* middleware classes
Functionality
To to Settings -> Users. Find user to impersonate. Press dots (More options for user). Press Impersonate button.
To finish impersonation press Stop impersonation on admin sidebar.
Settings
Since this module is kind of wrap for django-impersonate you need to update settings.py according to README.md of django-impersonate
There are three lines that require attention.
IMPERSONATE = {
"URI_EXCLUSIONS": [],
"REDIRECT_FIELD_NAME": "next",
"REDIRECT_URL": "/",
}
Metadata
Release files for wagtail-impersonate 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 |
|---|---|---|---|---|
| wagtail_impersonate-0.1.0.tar.gz | 3.9 kB | Without provenance | Details for wagtail_impersonate-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wagtail_impersonate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wagtail_impersonate-0.1.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / wagtail_impersonate-0.1.0.tar.gz
| Download URL | wagtail_impersonate-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c188aa01c4679f61128c648166c0d13cff868b0a0e9ea4a518da1955bba25e08
|
|
BLAKE2b-256 checksum How to use checksums |
a7ff2ec8c61a7afc1488c8f58412e874d4bd2d3cc167da58f970d8b840003440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / wagtail_impersonate-0.1.0-py3-none-any.whl
| Download URL | wagtail_impersonate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c00bd9953ec0fa544bd98630956e7e7bdfe120c119cbde3d48571ed6dc936e13
|
|
BLAKE2b-256 checksum How to use checksums |
910c3acddc22a67733b2ec6c8204c2567a43136ade8d119497dcdf9d3ff952f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for wagtail-impersonate 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.