Skip to main content

Plone addon, changing deletion-behaviour: Moves items into a trash-folder, instead of deleting them.

Project description


An addon for Plone, which changes the deletion-behaviour.

If a user deletes items, move them to a trashcan-folder named 'trash',
living in the upper next available navigation-root-folder – which is usually
the site-root-folder – instead of really deleting them.

Items inside of 'trash'-folders, or trash-folder themselves, will still
be actually, really, deleted.

Missing trash-folders are created on the fly.

Immediately after installation you won't see any trash-folders,
go on, delete something, they'll appear.

After an item has been trashed, its workflow-state is set to 'private',
so its content is not unintentionally exposed to the public.


Add 'adi.trash' to the eggs-section of your buildout-config,
run buildout, restart instance(s).

Then go to the add-on-controlpanel of your site and activate this add-on.


Ida Ebkes [ida], [idgspro], Aurore Mariscal [amariscal].


GPL2, a copy is attached.

Changelog for adi.trash

0.6 (2018-10-15)

- Fix bug on deletion from folder-contents (thanks to 'laulaz' for reporting).

0.5 (2018-09-27)

- Set trashed items' workflow-state to 'private' after trashing,
so trashed content does not get unintentionally exposed. [ida]

- Give temporary Contributor-role to user, for pasting into
trashcan and creating trashcans. Fix #7. [ida]

- Include CHANGES in long-description of this egg, so it gets
displayed on pypi. [ida]

0.4 (2018-03-03)

- 'ParseResult' object has no attribute 'endswith', fix error. [amariscal]

0.3 (2017-07-27)

- Regard URL can contain parameters, fixes #3. [idgserpro]

- Add plone.api as a dependency. [idgserpro]

0.2 (2017-04-12)

- Merge PR from idgserpro, correct repo-URL. [ida]

0.1 (2015-11-01)

- Initial commit.

Project details

Download files

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

Files for adi.trash, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size adi.trash-0.6.tar.gz (12.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page