Skip to main content

Save and show user last modifier information on Plone contents (and make by-line viewlet fully customizable)

Project description

Enhance the Plone catalog adding an additional information: the user who performed the last change. Optionally, expand the document byline section, showing this (and other) information.

Documentation

Catalog changes

After installing this product, the catalog of your Plone site will be populated with a new index and a metadata column: the Modifier. This will be the last user who performed a content change (both editing review state change).

Other products can start using this index for performing special searches.

Expand the document byline section

Optionally, this new information can be added to the content’s view.

Document byline preview

Please, note that this will also works for the new-style byline, that can also display the publication date (see PLIP #8699):

Document byline preview in the Plone 4.3 style

In facts, this can backport the publication date feature to older Plone versions (but this is a side effect of the product, not a wanted feature).

Apart publication date, all other by-line elements can now be controlled with a granular security settings.

When the new byline informations are shown?

The viewlet handle 4 different informations: author, last modifier, publication date and modification date. Each info is visible if the user has a specified permission on the context:

  • rt.lastmodifier: documentByLine view author

  • rt.lastmodifier: documentByLine view last modifier

  • rt.lastmodifier: documentByLine view modification date

  • rt.lastmodifier: documentByLine view publication date

This will change the way to handle document byline because commonly Plone simply use a couple of site-wide options: the allow_anon_views_about and the displayPublicationDateInByline.

To show last modifier info, Creator and Modifier must be not equals (just for not show a duplicate link).

By default Anonymous users can’t see anything (as Plone default).

Installation

Add rt.lastmodifier to your buildout:

[buildout]
...

[instance]
...
eggs=
   ...
   rt.lastmodifier

After that, install the “rt.lastmodifier” add-on product.

Compatibility

All Plone versions from 3.3 to 4.3.

Credits

Developed with the support of:

All of them supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.3.1 (2014-02-25)

  • Fixed default roles: do not use Authenticated but Member [keul]

0.3 (2014-02-12)

  • Added new permissions to handle the view of single infos in the viewlet: author, last modifier, publication date and modified date [cekk]

  • fixed bug: last modifier was never shown to anonymous users in Plone 4 (#1) [keul]

0.2 (2013-04-17)

  • Renamed the product from “collective.lastmodifier” to “rt.lastmodifier”. This is unbelievable and embarassing, but I didn’t find collective.lastmodifier when I looked for a Plone product with those features… and in the end I choosed the same name!

    However the original product is using a different approach.

  • Added collection criteria (for new and old ones)

0.1 (Unreleased)

  • Initial release

Project details


Download files

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

Source Distribution

rt.lastmodifier-0.3.1.zip (41.2 kB view details)

Uploaded Source

File details

Details for the file rt.lastmodifier-0.3.1.zip.

File metadata

File hashes

Hashes for rt.lastmodifier-0.3.1.zip
Algorithm Hash digest
SHA256 696de137be1adbba2f633a2eba5f3538be6da6c940f52b271af759392707cac5
MD5 d0a27cb0741f0b17bd1014ad40dee3b7
BLAKE2b-256 8367ea2dc4d1c68e2d900aa0c770120062fe89ecdfc4eed8989ab51ffa4c0a8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page