{ "info": { "author": "Zest Software (Fred van Dijk)", "author_email": "info@zestsoftware.nl", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nUsing content rules in Plone 3 it's very easy to register for certain events\nand perform actions upon occurrence. One of these actions provided by Plone 3\nis a mail action. \n\nA limitation in the supplied mail action is that one can only provide fixed\nemail addresses. But sometimes you'd like to send an email to a user having a\ncertain role on the object that was involved in triggering the content rule.\n\nAn examplary use case and reason for creation of this package is the reviewer \nrole. If an object in a certain location of the site is submitted for\npublication, you would like to inform the user that has the 'reviewer' role\non this area of the site that a new document/object is available for review.\n\nBefore contentrules was available in Plone 3 the place to add this functionality\nwas to to create a python script and attach it to the workflow 'submit' \ntransition that was used for the objects.\n\n.. Note::\n This product is superceded by `collective.contentrules.mailtorole`, \n which can send mail to all members having a role on the object, including \n global roles.\n\nInstallation\n============\n\nAdd collective.contentrules.mailtolocalrole to your buildout as an egg or\nfrom source. No (generic setup) installation is necessary.\n\n Versions before 1.2 did not use the z3c.autoinclude plugin, so you would\n need to add the package to the zcml slug list of your [instance] section.\n\nUsage\n=====\n\nGo to the Plone Control Panel, select Content Rules and add a new Rule. \nUnder 'actions' you now have a new option: Send email to users with local role.\n\nStability / feedback\n====================\n\nthis stand alone package has been derived from an implentation done during\na customer project. It's in production use, there are some tests, but it's\nnot 1.0 yet. Feedback is appreciated.\n\n0.7 update: Several users have commented and sent feedback/patches. Thank you!\n\n\nCaveat\n======\n\nThis contentrule only works on **local** roles. If you check for the review role\nand you have a user a or a group in your user settings defined as a reviewer\nas a global role, these will *NOT* be picked up. \n\nAlso, if you assign users a global review role, you cannot assign them a \nlocal role anymore because the Sharing tab will show an inherited sign\ninstead of a checkbox.\n\nWorse: if you first assign a user/group a local role and\nafterwards also give him a global role in the user settings in the Plone\nControl Panel, the local role will be hidden in the sharing tab of the content\nyou've set the local role to, but will still be active in the background. The\nsharing tab won't even show you the global role unless you explicitly search\nfor the user (which is logical, otherwise every sharing tab woul be spammed\nwith global roles). But when you remove the global role the local role will\nshow up again.\n\n\nThis package was first designed for a use case with local roles, I hadn't\nreally thought of checking for global roles as well. We could add this feature\nin a future version if there is demand for it, but we would have to change the\npackage name, collective.contentrules.mailtorole... ;-)\n\nCredits\n=======\n\nMost of this package has been directly copied from the plone.app.contentrules\nmail action. Additions have been made to check for directly assigned local\nroles, acquired roles, fetching the e-mail To addresses from the user objects,\nmodification of the control panel action, translations and tests.\n \n\n1.3 (2012-10-18)\n----------------\n\n- Officially superceded by collective.contentrules.mailtorole.\n [maurits]\n\n- Moved to\n https://github.com/collective/collective.contentrules.mailtolocalrole\n [maurits]\n\n1.2 (2011-10-28)\n----------------\n\n- use z3c.autoinclude plugin\n- Plone 4.1 compatibility (fixes\n http://plone.org/products/collective-contentrules-mailtolocalrole/issues/5)\n [khink]\n\n1.1 (2011-01-07)\n----------------\n\n- Fix the email from header that is generated from the portal owner if no from\n address is specified. Backported from plone.app.contentrules 4.0.2\n [fredvd]\n\n- Add subgroups support. If a group contains a subgroup that has members,\n these members will also be checked for having the local role.\n [lzdych]\n\n1.0 (2010-12-04)\n----------------\n\n- Fixed error when used on Plone 4: passing 'From' to secureSend is\n not needed in Plone 3 and breaks in Plone 4.\n [maurits]\n\n\n0.7 (2008-12-05 Sinterklaas)\n----------------------------\n\n- Added Italian localization [paulox]\n\n- Added Owner to role's vocabulary [paulox]\n\n- Add check for empty user email address [fredvd]\n\n- If the localrole is added to a group, add all members of that group to\n the recipients list [Craig Swank]\n\n\n0.6 (2008-10-02)\n----------------\n\n- Fixed and added tests [fredvd]\n\n- Updated locales [fredvd]\n\n\n0.5 unreleased\n--------------\n\n- Add locales [fredvd]\n\n- Fix acquired roles checking & look up email addresses [fredvd]\n\n- Add checking for acquired roles [fredvd]\n\n- Import basic version from a client project [fredvd]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/collective-contentrules-mailtolocalrole", "keywords": "plone contentrules action mail", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.contentrules.mailtolocalrole", "package_url": "https://pypi.org/project/collective.contentrules.mailtolocalrole/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.contentrules.mailtolocalrole/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/collective-contentrules-mailtolocalrole" }, "release_url": "https://pypi.org/project/collective.contentrules.mailtolocalrole/1.3/", "requires_dist": null, "requires_python": null, "summary": "Send e-mail to users having a localrole on the object", "version": "1.3" }, "last_serial": 494251, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "bb855ada5d67b9380537624e107d9d9b", "sha256": "72d69c0a1931a8a7e2e37b82d534cb6f8eba7d1943b178d6d9058b6a3d26a324" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-0.6.tar.gz", "has_sig": false, "md5_digest": "bb855ada5d67b9380537624e107d9d9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10285, "upload_time": "2008-10-02T11:00:44", "url": "https://files.pythonhosted.org/packages/d9/14/cfe9686fc85bfb64b10da39a7a1ae9fe046f5a7d6ec6b9a211b7d1344f5b/collective.contentrules.mailtolocalrole-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "a98a3038c6ae0e51aa46ab00e04839a4", "sha256": "f8b2c2108497c97cdb579372fd9a0e1292169ade282578a1cfbd9bb0a24a8cdb" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-0.7.tar.gz", "has_sig": false, "md5_digest": "a98a3038c6ae0e51aa46ab00e04839a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12460, "upload_time": "2008-12-05T13:13:51", "url": "https://files.pythonhosted.org/packages/98/0e/7f44c630f7009d6ef83fea96de089f5f2bfb525aa45f998b876de2486e74/collective.contentrules.mailtolocalrole-0.7.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "7f17c2034755c7bfb9f1f999430c6e8f", "sha256": "12035ceb2ab2a1949453d620b4170936bf7cbe800d85c05ab9005ec6aaae7031" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-1.0.zip", "has_sig": false, "md5_digest": "7f17c2034755c7bfb9f1f999430c6e8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27726, "upload_time": "2010-12-04T23:44:36", "url": "https://files.pythonhosted.org/packages/d8/f6/df8f8070788b0440b390f564af928b463b67e5d43dc125d1cbf1c6ddf2df/collective.contentrules.mailtolocalrole-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "d191e13a61c74c24e831c5a283180320", "sha256": "105efa1f297fdf59357516c07b0750043301138e89532cbefdaa99b00077f282" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-1.1.zip", "has_sig": false, "md5_digest": "d191e13a61c74c24e831c5a283180320", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28886, "upload_time": "2011-01-07T00:33:15", "url": "https://files.pythonhosted.org/packages/74/d1/c24c9772e5f23d7367a0812efc86557974805a90ec5ca868d349f123fbe3/collective.contentrules.mailtolocalrole-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "ec80bcf154ff923f8f7a93f1e909a58b", "sha256": "a0ffb8e1b2faa99c4ee17cd4e4358e1550ce85be9cf82d8552acd6d2fc1ee90e" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-1.2.tar.gz", "has_sig": false, "md5_digest": "ec80bcf154ff923f8f7a93f1e909a58b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15162, "upload_time": "2011-10-28T09:26:38", "url": "https://files.pythonhosted.org/packages/52/f7/bac2b1339176856bd7587873fc2e182acbc0ebdad82f9abdfd406e3ab009/collective.contentrules.mailtolocalrole-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "04386de0e200e27ae9b231d88f1d5c3e", "sha256": "cbfef2b01e92ac4dce22c3d745f8605af96b705a96b252d2a51bdcb95d8c3da1" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-1.3.zip", "has_sig": false, "md5_digest": "04386de0e200e27ae9b231d88f1d5c3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31922, "upload_time": "2012-10-18T16:28:51", "url": "https://files.pythonhosted.org/packages/aa/04/a9b6749029597e41f1b73989973b60a14ad615fe48c6820717f0a9ce61ac/collective.contentrules.mailtolocalrole-1.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04386de0e200e27ae9b231d88f1d5c3e", "sha256": "cbfef2b01e92ac4dce22c3d745f8605af96b705a96b252d2a51bdcb95d8c3da1" }, "downloads": -1, "filename": "collective.contentrules.mailtolocalrole-1.3.zip", "has_sig": false, "md5_digest": "04386de0e200e27ae9b231d88f1d5c3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31922, "upload_time": "2012-10-18T16:28:51", "url": "https://files.pythonhosted.org/packages/aa/04/a9b6749029597e41f1b73989973b60a14ad615fe48c6820717f0a9ce61ac/collective.contentrules.mailtolocalrole-1.3.zip" } ] }