Skip to main content

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]

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective_impersonate-3.0.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collective_impersonate-3.0.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file collective_impersonate-3.0.0.tar.gz.

File metadata

  • Download URL: collective_impersonate-3.0.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for collective_impersonate-3.0.0.tar.gz
Algorithm Hash digest
SHA256 ec4ec43d5c8775125f2373a17d85ff2b07d099f72bfba7fbad5e1639fcb14107
MD5 25a65e70255eb1f94097855971c49cd9
BLAKE2b-256 ab2a9c55f7dfe943164053af80527c733a62c4eee8318082478bc0a91616f61c

See more details on using hashes here.

File details

Details for the file collective_impersonate-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for collective_impersonate-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7b55dc1daa7cc6230cd85790cf455909667a7b753603a16c4fa8f6656e88a2
MD5 0a20e765a91d3a9f09e6cf95e2b8020d
BLAKE2b-256 3cef35ad095e9149f926523b9e37518761a306b2291288f3ad2c5cf6808c1bdf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 files

2.0

2 files

1.4.1

2 files

1.4

1 file

1.3

1 file

1.2

1 file

1.1.1

1 file

1.1

1 file

1.0.1

1 file

1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page