This package allows administrateur to marker object which can't be deleted
This package allows administrateur to marker object which can’t be deleted or renamed/moved.
How it works
This package use marker interfaces and subscribe to
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)
collective.preventactions you simply add collective.preventactions
to the list of eggs in your buildout, run buildout and restart Plone.
collective.preventactions using the Add-ons control panel.
The project is licensed under the GPLv2. Changelog =========
- Package created using mr.bob [bsuttor]