Skip to main content

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

Project description

Introduction
============

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.


Installation
============

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.


Contributors
============

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


License
=======

GPL2, a copy is attached.


Changelog for adi.trash
=======================


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.

Source Distribution

adi.trash-0.5.tar.gz (12.5 kB view hashes)

Uploaded Source

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