Allow administrator to impersonate another user. Useful for verifying workflow/permission set up on real content.
Installation
Install collective.impersonate by adding it to your buildout:
[buildout]
...
eggs =
collective.impersonate
and then running bin/buildout
Usage
See the docs folder for instructions on how to use this add-on.
Wishlist
autocomplete with search select2 widget for choosing the user to impersonate
License
The project is licensed under the GPLv2.
Based on the old niteoweb.loginas package: https://pypi.python.org/pypi/niteoweb.loginas
Changelog
3.0.0 (2026-08-25)
Remove contributors file. Check git history for contributors. [thet]
Cleanup and remove unused code. [thet]
Run plone-codemod to modernize for Plone 6.2. [thet]
Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. [gforcada]
2.0 (2024-10-21)
New action icons (Plone 6 only). [petschki]
Fix action icon setup. Set logout action to Plone 6 default. [petschki]
1.4.1 (2024-10-21)
Fix form action URL to support sites published under a subpath [ale-rt]
Fix redirect to INavigationRoot after impersonate [petschki]
1.4 (2021-12-11)
Plone 6 compatibility -> remove <includeDependencies /> [petschki]
1.3 (2020-10-07)
Add support for Plone 5.2 and Python 3 [cillianderoiste]
Use explicit dependency on Products.GenericSetup >= 1.8.2 [laulaz]
Fix issue with Lineage subsites, where the many_users property couldn’t be resolved due to a wrong adapter context. [thet]
Added French translation [laulaz]
minor markup cleanup [ajung]
Plone 4.3 compatibility [petschki]
Minor code cleanup: black, isort, travis fixes. [thet]
1.2 (2019-06-18)
lists available users only if the “Many users?” box in Users and Groups control panel is not checked [tkimnguyen]
1.1.1 (2019-06-16)
upgrade to Plone 5.1.5, add ‘Framework :: Plone :: Addon’ pypi classifier, tweak docs [tkimnguyen]
1.1 (2019-06-15)
update docs to show Impersonate portal action [tkimnguyen]
add user documentation [tkimnguyen]
add Impersonate personal menu item for Manager role [tkimnguyen]
fix buildout, isort fixes, flake8 fixes, Travis fixes [tkimnguyen]
upgrade to Plone 5.0.10 [tkimnguyen]
tweak Travis xvfb start [tkimnguyen]
fix test buildout [tkimnguyen]
1.0.1 (2017-03-07)
Brownbag release. [zupo]
1.0 (2017-03-07)
Initial release. [zupo]
Release files for collective.impersonate 3.0.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 | |
|---|---|---|---|
| collective_impersonate-3.0.0.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| collective_impersonate-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / collective_impersonate-3.0.0.tar.gz
| Download URL | collective_impersonate-3.0.0.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec4ec43d5c8775125f2373a17d85ff2b07d099f72bfba7fbad5e1639fcb14107
|
|
BLAKE2b-256 checksum How to use checksums |
ab2a9c55f7dfe943164053af80527c733a62c4eee8318082478bc0a91616f61c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / collective_impersonate-3.0.0-py3-none-any.whl
| Download URL | collective_impersonate-3.0.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c7b55dc1daa7cc6230cd85790cf455909667a7b753603a16c4fa8f6656e88a2
|
|
BLAKE2b-256 checksum How to use checksums |
3cef35ad095e9149f926523b9e37518761a306b2291288f3ad2c5cf6808c1bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|