{ "info": { "author": "Simples Consultoria", "author_email": "products@simplesconsultoria.com.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Zope2", "Framework :: Zope3", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "**************************************\nContent Rules: Apply local role\n**************************************\n\n.. contents:: Content\n :depth: 2\n\nOverview\n--------\n\n**Content Rules: Apply local role** (sc.contentrules.localrole) package\nprovides a content rule action to apply a local role in a content.\n\nThis package is tested with Travis CI:\n\n.. image:: https://secure.travis-ci.org/collective/sc.contentrules.localrole.png\n :alt: Travis CI badge\n :target: http://travis-ci.org/collective/sc.contentrules.localrole\n\n.. image:: https://coveralls.io/repos/github/collective/sc.contentrules.localrole/badge.svg\n :alt: Coveralls badge\n :target: https://coveralls.io/github/collective/sc.contentrules.localrole\n\n\n.. image:: https://pypip.in/d/sc.contentrules.localrole/badge.png\n :target: https://pypi.python.org/pypi/sc.contentrules.localrole/\n :alt: Downloads\n\nUse case\n---------\n\nA college with descentralized content management and groups dedicated to research. Each group should manage its own content.\n\nIn their portal they want to host areas for each research group they sponsor.\nAll those areas will be under the folder /research/. A research group called\n\"Environmental Studies\" will have an area at /research/environmental-studies.\n\nEvery time a new research group is added under /research/ they want asing a local role to users and gropus:\n\n * Editor local role: Given to users and groups responsible for this area.\n\n * Reader local role: Group of users with access to this area.\n\nInstallation\n------------\n\nTo enable this product on a buildout based installation:\n\n1. Edit your buildout.cfg and add ``sc.contentrules.localrole``\n to the list of eggs to install ::\n\n [buildout]\n ...\n eggs =\n sc.contentrules.localrole\n\nAfter updating the configuration you need to run the ''bin/buildout'',\nwhich will take care of updating your system.\n\n\nAction\n---------\n\nThis package provides one content rules action.\n\nApply local role\n^^^^^^^^^^^^^^^^^^^\n\nUsed to create a new user group this action have three options:\n\n.. figure:: https://raw.github.com/collective/sc.contentrules.localrole/master/docs/localrole.png\n :align: center\n :height: 548px\n :width: 394px\n\n The local role content rule.\n\nUser/Group ID\n Identifier of the user or group to receive the local role in the current content.\n You are allowed to use ${title} in here to dinamically generate the id of the user\n or group. i.e.: If this field have a value of **${title} Editors** and the action\n is being executed for a folder with title \"Environmental Studies\", this field will\n be \"Environmental Studies Editors\".\n This field should be left blank if the \"Field with User/Group ID\" field is filled.\n\nField with User/Group ID\n Pick a field on the content item which contains user/group ID to receive the \n permission. If the field is not found not permission will be set in sharing.\n This field should be blank if the \"User/Group ID\" field is filled.\n\nRoles\n Local roles to be applied in the current content -- the one that triggered the\n content rule -- to the user or group identified on the previous field\n\n\nRequirements\n------------\n\n * Plone 4.3.x and above (http://plone.org/products/plone)\n\nShare and Enjoy\n---------------\n\n`sc.contentrules.localrole` would not have been possible without the contribution\nof the following people:\n\n* Erico Andrei (erico at simplesconsultoria dot com dot br)\n\n* H\u00e9ctor Velarde\n\n* Jon Pentland\n\n* Rodrigo Ferreira de Souza\n\nDevelopment sponsored by `Simples Consultoria`_ and `IEA/USP`_.\n\n.. _`Simples Consultoria`: http://www.simplesconsultoria.com.br/\n.. _`IEA/USP`: http://www.iea.usp.br/\n\nChangelog\n-----------\n1.0 (2018-11-20)\n^^^^^^^^^^^^^^^^^^\n\n- Allow to pick principle from context item.\n [rodfersou]\n\n- Make compatible with Plone5.\n [instification, rodfersou]\n\n- Drop support for Python 2.6 and Plone 4.0-4.2.\n [rodfersou]\n\n\n1.0b3 (2014-06-02)\n^^^^^^^^^^^^^^^^^^\n\n* Fix package dependencies.\n [hvelarde]\n\n* Coveralls support [ericof]\n\n* Implement better QA for code [ericof]\n\n* Fix summary for content rules action [ericof]\n\n\n1.0b2 (2012-11-13)\n^^^^^^^^^^^^^^^^^^^\n\n* Update translations [ericof]\n\n* Fix packaging [ericof]\n\n1.0b1 (2012-10-30)\n^^^^^^^^^^^^^^^^^^^\n\n* Improve test coverage[ericof]\n\n* PEP8 [ericof]\n\n* Travis support [ericof]\n\n\n0.5 (2011-09-15)\n^^^^^^^^^^^^^^^^^^^^\n\n* Spanish translation [hvelarde]\n\n* Initial release [erico_andrei]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.simplesconsultoria.com.br", "keywords": "contentrules action plone localrole", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "sc.contentrules.localrole", "package_url": "https://pypi.org/project/sc.contentrules.localrole/", "platform": "", "project_url": "https://pypi.org/project/sc.contentrules.localrole/", "project_urls": { "Homepage": "http://www.simplesconsultoria.com.br" }, "release_url": "https://pypi.org/project/sc.contentrules.localrole/1.0/", "requires_dist": null, "requires_python": "", "summary": "Plone content rule action to apply local roles to a content object", "version": "1.0" }, "last_serial": 4508721, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "24a5d1746556ac2ebe24334fc04fcdff", "sha256": "6eed065551a5b8381a6f2b6cc0c218dae336067c189b11ea7308e443c3f60e01" }, "downloads": -1, "filename": "sc.contentrules.localrole-0.5.tar.gz", "has_sig": false, "md5_digest": "24a5d1746556ac2ebe24334fc04fcdff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15301, "upload_time": "2011-09-15T15:49:12", "url": "https://files.pythonhosted.org/packages/14/5b/ecc06676ee811f6119bb3e5ab36a024de808fc0e58d04dd30243a09743e4/sc.contentrules.localrole-0.5.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "92ff6f629b7a84058df06ab9e81a81f5", "sha256": "a31c361c68f5bc461c6fe79d6d6732f62ba9eb299c52b167e7e86c32a6eed6bc" }, "downloads": -1, "filename": "sc.contentrules.localrole-1.0.tar.gz", "has_sig": false, "md5_digest": "92ff6f629b7a84058df06ab9e81a81f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 74651, "upload_time": "2018-11-20T18:07:42", "url": "https://files.pythonhosted.org/packages/3c/81/d9de71ea07cecfe7501fbd6d7abd8d9e9e82c4fc842793570d39e26cfb78/sc.contentrules.localrole-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "526724742a5b0b59964934b7cd1cc937", "sha256": "cbf7be539f7cb4cf2792372745700ad057002fbef18e47d9b4cddfa513a75c6e" }, "downloads": -1, "filename": "sc.contentrules.localrole-1.0b1.zip", "has_sig": false, "md5_digest": "526724742a5b0b59964934b7cd1cc937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21630, "upload_time": "2012-10-30T21:36:37", "url": "https://files.pythonhosted.org/packages/6c/f5/3d2195ed3091a2e5849982a01efb7fac1dd3b93aef4dabdb70dce99c9d2d/sc.contentrules.localrole-1.0b1.zip" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "8e2944c1322e978800158dbe98fe2733", "sha256": "eeab13dce7903bae1cd037b25b4a67673bc9a9741139e2401a5e91541b1efbd2" }, "downloads": -1, "filename": "sc.contentrules.localrole-1.0b2.zip", "has_sig": false, "md5_digest": "8e2944c1322e978800158dbe98fe2733", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30524, "upload_time": "2012-11-13T19:16:04", "url": "https://files.pythonhosted.org/packages/a0/28/ce457568fe840b12cd9fb3f49ce3d6d24ea65d298ed781e084df254a78f5/sc.contentrules.localrole-1.0b2.zip" } ], "1.0b3": [ { "comment_text": "", "digests": { "md5": "30d983183227cfbc9d76b54d88f0b8c6", "sha256": "546354916bc45a0e23d895eaf3511769ae0743daf1c4fa4ebe0e7bcc76b43430" }, "downloads": -1, "filename": "sc.contentrules.localrole-1.0b3.zip", "has_sig": false, "md5_digest": "30d983183227cfbc9d76b54d88f0b8c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33159, "upload_time": "2014-06-03T02:23:42", "url": "https://files.pythonhosted.org/packages/4d/48/9224c36573dfc96c138b9bdb0c7aefa791598c501905cb90c07ea4149111/sc.contentrules.localrole-1.0b3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92ff6f629b7a84058df06ab9e81a81f5", "sha256": "a31c361c68f5bc461c6fe79d6d6732f62ba9eb299c52b167e7e86c32a6eed6bc" }, "downloads": -1, "filename": "sc.contentrules.localrole-1.0.tar.gz", "has_sig": false, "md5_digest": "92ff6f629b7a84058df06ab9e81a81f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 74651, "upload_time": "2018-11-20T18:07:42", "url": "https://files.pythonhosted.org/packages/3c/81/d9de71ea07cecfe7501fbd6d7abd8d9e9e82c4fc842793570d39e26cfb78/sc.contentrules.localrole-1.0.tar.gz" } ] }