This release is a pre-release and may not be stable for production use.
collective.behavior.lastmodifier
Adds a behavior that tracks down the last user that modified an object.
The plone.last_modifier behavior that can be added to any dexterity content.
Objects with that behavior will update the last_modifier attribute of the object with the currently authenticated user id:
when an object is created
every time an ObjectModifiedEvent is fired.
There is a tracking_disabled context manager that can be used to disable tracking. This might come handy, for example during migrations:
from collective.behavior.lastmodifier.behavior import tracking_disabled
with tracking_disabled():
...
Installation
Install collective.behavior.lastmodifier by adding it to your buildout:
[buildout]
...
eggs =
collective.behavior.lastmodifier
and then running bin/buildout
Contribute
License
The project is licensed under the GPLv2.
Contributors
ale-rt
Changelog
1.0.0rc2 (2021-03-11)
Added a tracking_disabled context manager to disable tracking the last modifier [ale-rt]
1.0.0rc1 (2021-02-18)
Initial release. [ale-rt]
Metadata
Release files for collective.behavior.lastmodifier 1.0.0rc2
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 |
|---|---|---|---|---|
| collective.behavior.lastmodifier-1.0.0rc2.tar.gz | 20.1 kB | Without provenance | Details for collective.behavior.lastmodifier-1.0.0rc2.tar.gz |
Release files / collective.behavior.lastmodifier-1.0.0rc2.tar.gz
| Download URL | collective.behavior.lastmodifier-1.0.0rc2.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07eae7b6a9982fc0dbc51b340c563c3daf71f5b5944231fbaecbc8c9b68daad2
|
|
BLAKE2b-256 checksum How to use checksums |
40d0462524d0fe14380fa0164155e384b9099db44a3dca96b3065345b83a5f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.6
|
Security for collective.behavior.lastmodifier 1.0.0rc2
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.