Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

https://travis-ci.org/collective/collective.preventactions.svg?branch=master https://coveralls.io/repos/collective/collective.preventactions/badge.svg?branch=master

collective.preventactions

This package allows administrateur to marker object which can’t be deleted or renamed/moved.

The map on a collection.

How it works

This package use marker interfaces and subscribe to IObjectWillBeRemovedEvent and IObjectWillBeMovedEvent events. If a marker interface is find on modified object, a exception will be raised.

You can also set some contents not deleteable (for example) like this in your setuphandler :

from collective.preventactions.interfaces import IPreventDelete
from plone import api
from zope.interface import alsoProvides


def post_install(context):
    obj = api.content.get('/Plone/content-not-deleteable')
    alsoProvides(obj, IPreventDelete)

Installation

To install collective.preventactions you simply add collective.preventactions to the list of eggs in your buildout, run buildout and restart Plone.

Then, install collective.preventactions using the Add-ons control panel.

License

The project is licensed under the GPLv2. Changelog =========

0.2.1 (2018-07-10)

  • Typo. [bsuttor]

0.2 (2018-07-09)

  • Fix check render of PreventActionForm. [bsuttor]

0.1 (2016-09-20)

  • Package created using mr.bob [bsuttor]

Metadata

Release files for collective.preventactions 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for collective.preventactions 0.2.1
File Size Uploaded
collective.preventactions-0.2.1.tar.gz 39.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collective.preventactions 0.2.1
File Interpreter ABI Platform
collective.preventactions-0.2.1-py2-none-any.whl Python 2 none any Details

Total release size: 59.4 kB

Release files / collective.preventactions-0.2.1.tar.gz

Download URL collective.preventactions-0.2.1.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c909d91fdf45595c9c9c195295a9200db14eefcf86262c5a237f8259cc6ff340
BLAKE2b-256 checksum
How to use checksums
52dd751bacfcfafa9afc93d81bde1755a5486f69a14a9ab5d40c692b76dea724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / collective.preventactions-0.2.1-py2-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL collective.preventactions-0.2.1-py2-none-any.whl
Size 20.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
2577ef611c0650e51e073211dcbe405ffd39392ee3b7aa690e61284067015304
BLAKE2b-256 checksum
How to use checksums
b0c01672a6783dbf1aa3872060a2c9314ee900c9d5b5eb7b35326efe5334d6ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

Release history Release notifications | RSS feed

0.3.0

1 release file

This release

0.2.1 This release

2 release files

0.1

1 release file

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