{ "info": { "author": "Beno\u00eet Suttor", "author_email": "benoit.suttor@imio.be", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python" ], "description": ".. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.\n If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html\n This text does not appear on pypi or github. It is a comment.\n \n.. image:: https://travis-ci.org/collective/collective.preventactions.svg?branch=master\n :target: https://travis-ci.org/collective/collective.preventactions\n\n.. image:: https://coveralls.io/repos/collective/collective.preventactions/badge.svg?branch=master\n :target: https://coveralls.io/github/collective/collective.preventactions?branch=master\n\n=========================\ncollective.preventactions\n=========================\n\nThis package allows administrateur to marker object which can't be deleted or renamed/moved.\n\n.. image:: https://raw.githubusercontent.com/imio/collective.preventactions/master/docs/screenshot.png\n :alt: The map on a collection.\n :width: 388\n :height: 276\n :align: center\n \n* `Source code @ GitHub `_\n* `Releases @ PyPI `_\n\nHow it works\n------------\n\nThis package use marker interfaces and subscribe to `IObjectWillBeRemovedEvent` and `IObjectWillBeMovedEvent` events.\nIf a marker interface is find on modified object, a exception will be raised.\n\nYou can also set some contents not deleteable (for example) like this in your setuphandler : ::\n\n from collective.preventactions.interfaces import IPreventDelete\n from plone import api\n from zope.interface import alsoProvides\n \n \n def post_install(context):\n obj = api.content.get('/Plone/content-not-deleteable')\n alsoProvides(obj, IPreventDelete)\n\nInstallation\n------------\n\nTo install `collective.preventactions` you simply add ``collective.preventactions``\nto the list of eggs in your buildout, run buildout and restart Plone.\n\nThen, install `collective.preventactions` using the Add-ons control panel.\n\n\n\nLicense\n-------\n\nThe project is licensed under the GPLv2.\nChangelog\n=========\n\n0.2.1 (2018-07-10)\n------------------\n\n- Typo.\n [bsuttor]\n\n\n0.2 (2018-07-09)\n----------------\n\n- Fix check render of PreventActionForm.\n [bsuttor]\n\n\n0.1 (2016-09-20)\n----------------\n\n- Package created using mr.bob\n [bsuttor]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/collective.preventactions", "keywords": "Plone Python Zope", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "collective.preventactions", "package_url": "https://pypi.org/project/collective.preventactions/", "platform": "", "project_url": "https://pypi.org/project/collective.preventactions/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/collective.preventactions" }, "release_url": "https://pypi.org/project/collective.preventactions/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "This package allows administrateur to marker object which can't be deleted", "version": "0.2.1" }, "last_serial": 4046669, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c46cd11fbe16b4a8603b7d2c8fd7c8f8", "sha256": "d4dc008b9b849971132f33da80e86ec32c5a5f709c4d5720c2c828e515a16359" }, "downloads": -1, "filename": "collective.preventactions-0.1.tar.gz", "has_sig": false, "md5_digest": "c46cd11fbe16b4a8603b7d2c8fd7c8f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39671, "upload_time": "2016-09-20T12:40:04", "url": "https://files.pythonhosted.org/packages/5a/fa/3b968978fa8681db316242e6c524cf37351dbe300deb353ea5e284a0f0ce/collective.preventactions-0.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cca1e7b66ccd9072aa8463bb0609c240", "sha256": "c909d91fdf45595c9c9c195295a9200db14eefcf86262c5a237f8259cc6ff340" }, "downloads": -1, "filename": "collective.preventactions-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cca1e7b66ccd9072aa8463bb0609c240", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39368, "upload_time": "2018-07-10T09:37:50", "url": "https://files.pythonhosted.org/packages/52/dd/751bacfcfafa9afc93d81bde1755a5486f69a14a9ab5d40c692b76dea724/collective.preventactions-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cca1e7b66ccd9072aa8463bb0609c240", "sha256": "c909d91fdf45595c9c9c195295a9200db14eefcf86262c5a237f8259cc6ff340" }, "downloads": -1, "filename": "collective.preventactions-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cca1e7b66ccd9072aa8463bb0609c240", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39368, "upload_time": "2018-07-10T09:37:50", "url": "https://files.pythonhosted.org/packages/52/dd/751bacfcfafa9afc93d81bde1755a5486f69a14a9ab5d40c692b76dea724/collective.preventactions-0.2.1.tar.gz" } ] }