{ "info": { "author": "RedTurtle Technology", "author_email": "sviluppoplone@redturtle.it", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Plone", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Framework :: Plone :: 4.2", "Framework :: Plone :: 4.3", "Framework :: Zope2", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory" ], "description": "Add **roles** or **groups** to anonymous or logged-in visitors based on **HTTP headers**\n\n.. contents:: **Table of contents**\n\nIntroduction\n============\n\nThe AutoRoleFromHostHeader PAS plugin allows to assign roles to users looking\nat HTTP headers.\n\nThere is an extraction and authentication plugin included, to enable\nadditional roles for anonymous users. They are required since PAS does\nnot support roles (or properties or groups) for anonymous users.\nYou can disable these interfaces if only logged-in users should get\nadditional roles.\n\nAutoRoleFromHostHeader furthermore provides a groups plugin interface,\nallowing you to assign groups instead of roles.\n\nConfiguration\n=============\n\nThe plugin is configured by editing the ``Header name; regexp; roles/groups``\nproperty on the plugin's properties screen (through ZMI).\nEach line represents a mapping from an header value (using a regexp match) to\none or more roles. The format is as follows::\n\n http_header_name; regular expression; role[, role ...] ; TALES\n\nThe (optional) TALES allows arbitrary expressions to be added to role mappings,\nfor example to check other HTTP headers::\n\n ...;python:request.getHeader('MY-SPECIAL-HEADER')=='somevalue'\n\nAssign groups, not roles\n------------------------\n\nThis plugin can be used to assign groups instead of roles if used as a\n*group plugin* instead of a role plugin::\n\n http_header_name; regular expression; group[, group ...] ; TALES\n\nGroups plugin is not activated by default.\n\nCaveat\n======\n\nIf you have AutoRoleFromHostHeader configured for anonymous users and come\nfrom a network matching one of its rules, you will **not** be able to log in\nwith an account from a higher-up user folder. This is because AutoRole\nauthenticates the Anonymous User which stops the lookup process.\n\nDependencies\n============\n\nTested with all Plone versions from 4.0 to 4.3.\n\nCredits\n=======\n\nDeveloped with the support of:\n\n* `Azienda USL Ferrara`__\n\n .. image:: http://www.ausl.fe.it/logo_ausl.gif\n :alt: Azienda USL's logo\n \n* `Regione Emilia Romagna`__\n\nAll of them supports the `PloneGov initiative`__.\n\n__ http://www.ausl.fe.it/\n__ http://www.regione.emilia-romagna.it/\n__ http://www.plonegov.it/\n\nAuthors\n=======\n\n* This product was developed by RedTurtle Technology team.\n \n .. image:: http://www.redturtle.it/redturtle_banner.png\n :alt: RedTurtle Technology Site\n :target: http://www.redturtle.it/\n \n* AutoRoleFromHostHeader is not an original idea but is taken from the work\n made by *Jarn company* for the `AutoRole`__ plugin.\n* Special thanks to *Mauro Amico* (mamico) for giving us the main direction.\n* *Matthew Wilkes* (MatthewWilkes) contributed adding the conditional\n expression.\n\n__ http://pypi.python.org/pypi/Products.AutoRole\n\n\nChangelog\n=========\n\n1.0.0 (2015-06-05)\n------------------\n\n**Dropped Plone 3 compatibility**\n\n* Add TALES field to assignments, allowing users to provide arbitrary conditions [matthewwilkes]\n\n0.4.1 (2014-07-10)\n------------------\n\n* Restored MANIFEST file that was destroyed [keul]\n* Run import step profile only when needed [keul]\n\n0.4.0 (Unreleased)\n------------------\n\n* Do not fail if the configured header was not found [keul]\n* Dropped support for ancient Plone versions (Python 2.3) [keul]\n* Pyflakes cleanup [keul]\n* Now works also on Plone 4.3 [keul]\n\n0.3.0 (2011-10-17)\n------------------\n\n* Fixed compatibliy with webserverauth [yurj]\n* Updates tests on Plone 4.1 [keul]\n\n0.2.0 (2010-10-04)\n------------------\n\n* Fixed project URL on plone.org [keul]\n* Added plugin icon [keul]\n* Fixed broken tests [keul]\n* Added z3c.autoinclude support [keul]\n\n0.1.0a (2010-03-24)\n-------------------\n\n* Initial release", "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/autorolefromhostheader", "keywords": "autorole pas plugin roles groups http header", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "Products.AutoRoleFromHostHeader", "package_url": "https://pypi.org/project/Products.AutoRoleFromHostHeader/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Products.AutoRoleFromHostHeader/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/autorolefromhostheader" }, "release_url": "https://pypi.org/project/Products.AutoRoleFromHostHeader/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Plone PAS plugin for adding roles (or groups) to anonymous or logged-in visitors looking for HTTP Headers.", "version": "1.0.0" }, "last_serial": 1579428, "releases": { "0.1.0a": [ { "comment_text": "", "digests": { "md5": "37480297c89a74dc83bc14bc0d9cff33", "sha256": "f1898a160c528f828b51b9adcaa54dcfe72fb884eb606e88c48b977aa31840ee" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-0.1.0a-py2.4.egg", "has_sig": false, "md5_digest": "37480297c89a74dc83bc14bc0d9cff33", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 20900, "upload_time": "2010-03-24T17:20:46", "url": "https://files.pythonhosted.org/packages/9d/7d/ad6f53cf0704a62b02d0bd5023e923c2b5e4f23cca0444c75e7c5c979869/Products.AutoRoleFromHostHeader-0.1.0a-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "ac253c701ba9668e6c4271d5c0364619", "sha256": "84bd55c9417b2385748da667dc797d62d3bfd97ccd24d84a4ae5f3687eb914a5" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-0.1.0a-py2.6.egg", "has_sig": false, "md5_digest": "ac253c701ba9668e6c4271d5c0364619", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 20799, "upload_time": "2010-03-24T17:19:30", "url": "https://files.pythonhosted.org/packages/61/24/3ea23c780794fff584ef4fd6dedf0f1d6d3afdabe8e21a7a6d336a49c50d/Products.AutoRoleFromHostHeader-0.1.0a-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "4963f0efed196f4f84e5c0d3ee948300", "sha256": "8c9957f6e5f7c2f0455fc354f0c3af6d0b12b0f3520598819ae40cced14e0311" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-0.1.0a.tar.gz", "has_sig": false, "md5_digest": "4963f0efed196f4f84e5c0d3ee948300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14581, "upload_time": "2010-03-24T17:19:28", "url": "https://files.pythonhosted.org/packages/c6/a9/430f7ae0a8b34f7e87ecaeeb1e32539f294dbfb4455bb8b8bc6a75d4144b/Products.AutoRoleFromHostHeader-0.1.0a.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "fc5109c638ce65533ed9687707347461", "sha256": "aa1ce4dd299b17f53c03326e8083d3d7baec2caf482826ec1bbb93f1bb15e423" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-0.2.0.tar.gz", "has_sig": false, "md5_digest": "fc5109c638ce65533ed9687707347461", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15916, "upload_time": "2010-10-04T17:00:59", "url": "https://files.pythonhosted.org/packages/c1/b8/1757ce1c6e07a5dddab24b4dc9362b5e5ba98593a5f46321f110132c0c0b/Products.AutoRoleFromHostHeader-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c7cbe950c9e3ff303b431a7232a9d9ae", "sha256": "4e721800a416846d00ecc46ae4a970f556708d6bbb949da7c08c789f50bb082a" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c7cbe950c9e3ff303b431a7232a9d9ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16585, "upload_time": "2011-10-17T12:43:29", "url": "https://files.pythonhosted.org/packages/8f/08/cd31d85972f6b7412ea80be7dfb40a91575d2bd3652b026b6cd15817f0d9/Products.AutoRoleFromHostHeader-0.3.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "c0c0c9147cb4eeb551542aefd5f22a04", "sha256": "0a6f6b7f95cd8a8513a0ac2fc128daf81dd3187fbf62f2c87014a7b00b0949de" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-0.4.1.zip", "has_sig": false, "md5_digest": "c0c0c9147cb4eeb551542aefd5f22a04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26752, "upload_time": "2014-07-10T15:11:11", "url": "https://files.pythonhosted.org/packages/1c/96/48baf68589d13314bdcb2544954df12cac1c28ae2a0ecd7303a53cebc4bd/Products.AutoRoleFromHostHeader-0.4.1.zip" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "3b8e4064ab3c3403587e654bac8ad54a", "sha256": "765941c675a091b0f1fff3623f9a4fa11e18b6944cd6a6486a2f78db905efbb5" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3b8e4064ab3c3403587e654bac8ad54a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16116, "upload_time": "2015-06-05T08:29:39", "url": "https://files.pythonhosted.org/packages/6f/c2/48a112b132e8fbfce2c8078ad10b4f4ddda7f9e7c2b0fc0c27c1759044e4/Products.AutoRoleFromHostHeader-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b8e4064ab3c3403587e654bac8ad54a", "sha256": "765941c675a091b0f1fff3623f9a4fa11e18b6944cd6a6486a2f78db905efbb5" }, "downloads": -1, "filename": "Products.AutoRoleFromHostHeader-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3b8e4064ab3c3403587e654bac8ad54a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16116, "upload_time": "2015-06-05T08:29:39", "url": "https://files.pythonhosted.org/packages/6f/c2/48a112b132e8fbfce2c8078ad10b4f4ddda7f9e7c2b0fc0c27c1759044e4/Products.AutoRoleFromHostHeader-1.0.0.tar.gz" } ] }