{ "info": { "author": "Jannis Leidel", "author_email": "jannis@leidel.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "================\ndjango-authority\n================\n\n.. image:: https://jazzband.co/static/img/badge.svg\n :target: https://jazzband.co/\n :alt: Jazzband\n\n.. image:: https://travis-ci.org/jazzband/django-authority.svg?branch=master\n :target: https://travis-ci.org/jazzband/django-authority\n\n.. image:: https://codecov.io/gh/jazzband/django-authority/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/jazzband/django-authority\n\nThis is a Django app for per-object-permissions that includes a bunch of\nhelpers to create custom permission checks.\n\nThe main website for django-authority is\n`django-authority.readthedocs.org`_. You can also install the\n`in-development version`_ of django-authority with\n``pip install django-authority==dev`` or ``easy_install django-authority==dev``.\n\n.. _`django-authority.readthedocs.org`: https://django-authority.readthedocs.io/\n.. _in-development version: https://github.com/jazzband/django-authority/archive/master.zip#egg=django-authority-dev\n\nExample\n=======\n\nTo get the example project running do:\n\n- Bootstrap the environment by running in a virtualenv::\n\n pip install Django\n pip install -e .\n\n- Sync the database::\n\n python example/manage.py migrate\n\n- Run the development server and visit the admin at http://127.0.0.1:8000/admin/::\n\n python example/manage.py runserver\n\nNow create a flatage and open it to see some of the templatetags in action.\nDon't hesitate to use the admin to edit the permission objects.\n\nPlease use https://github.com/jazzband/django-authority/issues/ for issues and bug reports.\n\nDocumentation\n=============\n\nThe documenation is currently in development. You can create a nice looking\nhtml version using the setup.py::\n\n python setup.py build_sphinx\n\nChangelog:\n==========\n\n0.13.1 (2018-01-28):\n--------------------\n\n* Minor fixes to the documentation and versioning.\n\n0.13 (2018-01-28):\n------------------\n\n* Added support for Django 1.11\n* Drop Support for Python 3.3\n* Fixed a bug with template loader\n\n0.12 (2017-01-10):\n------------------\n\n* Added support for Django 1.10\n\n0.11 (2016-07-17):\n------------------\n\n* Added Migration in order to support Django 1.8\n\n* Dropped Support for Django 1.7 and lower\n\n* Remove SQL Migration Files\n\n* Documentation Updates\n\n* Fix linter issues\n\n0.10 (2015-12-14):\n------------------\n\n* Fixed a bug with BasePermissionForm and django 1.8\n\n0.9 (2015-11-11):\n-----------------\n\n* Added support for Django 1.7 and 1.8\n\n* Dropped support for Django 1.3\n\n0.8 (2013-12-20):\n-----------------\n\n* Added support for Django 1.6\n\n0.7 (2013-07-03):\n-----------------\n\n* No longer doing dependent sub-queries. It will be faster to do two small\n queries instead of one with a dependent sub-query in the general case.\n\n0.6 (2013-06-13):\n-----------------\n\n* Added support for custom user models (Django 1.5 only).\n\n0.5 (2013-03-18):\n-----------------\n\n* It is now possible to minimize the number of queries when using\n django-authority by caching the results of the Permission query. This can be\n done by adding ``AUTHORITY_USE_SMART_CACHE = True`` to your settings.py\n* Confirmed support (via travis ci) for all combinations of Python 2.6,\n Python2.7 and Django 1.3, Django 1.4, Django 1.5. Added Python 3.3 support\n for Django 1.5\n\n\n0.4 (2010-01-15):\n-----------------\n\n* Fixed an issue with the UserPermissionForm not being able to override the\n widget of the user field.\n\n* Added ability to override form class in ``add_permission`` view.\n\n* Added easy way to assign permissions via a permission instance, e.g.::\n\n from django.contrib.auth.models import User\n from mysite.articles.permissions import ArticlePermission\n\n bob = User.objects.get(username='bob')\n article_permission = ArticlePermission(bob)\n article_permission.assign(content_object=article)\n\n\n0.3 (2009-07-28):\n-----------------\n\n* This version adds multiple fields to the Permission model and is\n therefore a **backwards incompatible** update.\n\n This was required to add a feature that allows users to request,\n withdraw, deny and approve permissions. Request and approval date\n are now saved, as well as an ``approved`` property. An admin action has\n been added for bulk approval.\n\n To migrate your existing data you can use the SQL files included in\n the source (`migrations/`_), currently available for MySQL, Postgres\n and SQLite.\n\n* The templatetags have also been refactored to be easier to customize\n which required a change in the template tag signature:\n\n Old::\n\n {% permission_form flatpage %}\n {% permission_form flatpage \"flatpage_permission.top_secret\" %}\n {% permission_form OBJ PERMISSION_LABEL.CHECK_NAME %}\n\n New::\n\n {% permission_form for flatpage %}\n {% permission_form for flatpage using \"flatpage_permission.top_secret\" %}\n {% permission_form for OBJ using PERMISSION_LABEL.CHECK_NAME [with TEMPLATE] %}\n\n New templatetags:\n\n * ``permission_request_form``\n * ``get_permission_request``\n * ``get_permission_requests``\n * ``permission_request_approve_link``\n * ``permission_request_delete_link``\n * ``request_url_for_obj``\n\n* The ``add_permission`` view is now accessible with GET requests and\n allows to request permissions, but also add them (only for users with\n the 'authority.add_permission' Django permission).\n\n.. _`migrations/`: https://github.com/jazzbands/django-authority/tree/master/migrations\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jazzband/django-authority/", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-authority", "package_url": "https://pypi.org/project/django-authority/", "platform": "", "project_url": "https://pypi.org/project/django-authority/", "project_urls": { "Homepage": "https://github.com/jazzband/django-authority/" }, "release_url": "https://pypi.org/project/django-authority/0.13.2/", "requires_dist": [ "django" ], "requires_python": "", "summary": "A Django app that provides generic per-object-permissions for Django's auth app.", "version": "0.13.2" }, "last_serial": 3529138, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d39f40d0be534b0137ac353eeb99cadc", "sha256": "0ad88b6a600b02d9c4b923ed784fcc777227db09ca7c860f7da1400dd4595bca" }, "downloads": -1, "filename": "django-authority-0.1.tar.gz", "has_sig": true, "md5_digest": "d39f40d0be534b0137ac353eeb99cadc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17097, "upload_time": "2009-07-11T18:35:35", "url": "https://files.pythonhosted.org/packages/86/08/adac8275b20afd963fa7273b369df9976221f32e5b3a2ca518f2678af9c4/django-authority-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "c4b873ada7b3ba77419a1a90a59e78b0", "sha256": "cf0c30769a57892086a21451fa950914e8af9337754a70910dbd01d21d78d738" }, "downloads": -1, "filename": "django-authority-0.10.tar.gz", "has_sig": false, "md5_digest": "c4b873ada7b3ba77419a1a90a59e78b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38303, "upload_time": "2015-12-14T16:29:53", "url": "https://files.pythonhosted.org/packages/42/17/f80f516f3245cc8ff87201d8df4e65c6e0a2a2903ead1b767df89d63e7e0/django-authority-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "df8fe353c0ec966f317ad17952df3a68", "sha256": "eca5c094e3f826681b64b3f55e7a382cc023accc11acfbb617ab688e9d9f3ce9" }, "downloads": -1, "filename": "django_authority-0.11-py3-none-any.whl", "has_sig": false, "md5_digest": "df8fe353c0ec966f317ad17952df3a68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40811, "upload_time": "2016-07-16T21:24:42", "url": "https://files.pythonhosted.org/packages/4c/5e/b6f559355e6d452a305b85a7c138d2877b96b2f73e5f8715a73e063574f7/django_authority-0.11-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5c7e00b146a69f5803701d2600c4448", "sha256": "93312a6318fc7ec14d2455c399e25d9d533b7dc4abae33b77afb394a0446b4ab" }, "downloads": -1, "filename": "django-authority-0.11.tar.gz", "has_sig": false, "md5_digest": "e5c7e00b146a69f5803701d2600c4448", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37809, "upload_time": "2016-07-16T21:24:44", "url": "https://files.pythonhosted.org/packages/36/33/9cb29f6c55a11802a958346db4c0745843de096530083b1e3c74d591ebad/django-authority-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "182eb80f9582534563447f35fc2567f1", "sha256": "ee6d98031320ba404c7317a4bdfab58897f46a545ce3664af000b98b60a3cac8" }, "downloads": -1, "filename": "django_authority-0.12-py2-none-any.whl", "has_sig": true, "md5_digest": "182eb80f9582534563447f35fc2567f1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 41153, "upload_time": "2018-01-28T13:20:45", "url": "https://files.pythonhosted.org/packages/a6/f7/a3e956f0842ce8e98c3bee2172a8bac8608bd6634ccaa01a2a82a6505e7b/django_authority-0.12-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81d3e256cefef0701dcfa5f1707e6bca", "sha256": "c01fbcd4241f2d2287f531b62a4e28d3d91dc11ba8b34584adbaf8785c1c13b2" }, "downloads": -1, "filename": "django-authority-0.12.tar.gz", "has_sig": true, "md5_digest": "81d3e256cefef0701dcfa5f1707e6bca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39520, "upload_time": "2018-01-28T13:20:47", "url": "https://files.pythonhosted.org/packages/88/dd/02fb208e898b2756fa3c66a67980729465da2d8a32e4a71b39fb6281351c/django-authority-0.12.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "936a3cb3287f3fda9ed9b066219a4e22", "sha256": "a6e446ccf3b6b13d33e377e1339e94e75a195f212bd0089f071fe1841170ffba" }, "downloads": -1, "filename": "django_authority-0.13-py3-none-any.whl", "has_sig": false, "md5_digest": "936a3cb3287f3fda9ed9b066219a4e22", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41453, "upload_time": "2018-01-28T13:44:30", "url": "https://files.pythonhosted.org/packages/28/c0/efe17b02263abfa93c4a9252b68b7d804b283800c3355cb7660fdd043b54/django_authority-0.13-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f86bb0dccbfc9b5b38a24cf87d3866a2", "sha256": "aa6fdcba4188472ca7e83cdd235f9566487c6fce482eae3ee1160fb1594acf0a" }, "downloads": -1, "filename": "django-authority-0.13.tar.gz", "has_sig": false, "md5_digest": "f86bb0dccbfc9b5b38a24cf87d3866a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151909, "upload_time": "2018-01-28T13:44:41", "url": "https://files.pythonhosted.org/packages/93/77/2d69a1ab8628852ce2c52e15f6a7f0f171ce1066152c30b1edfa2fefac9d/django-authority-0.13.tar.gz" } ], "0.13.1": [ { "comment_text": "", "digests": { "md5": "04d0cbab955f4b22fc5255ab93908ee2", "sha256": "ac059dea744be293c1254c87994084fc835672a5475de20b61bcf7da14a00c4f" }, "downloads": -1, "filename": "django_authority-0.13.1-py3-none-any.whl", "has_sig": false, "md5_digest": "04d0cbab955f4b22fc5255ab93908ee2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41544, "upload_time": "2018-01-28T14:04:15", "url": "https://files.pythonhosted.org/packages/a7/3b/2c61dbe694b2f7807be91c4ebbddcf9ce70c907f2e09f558294526ac101f/django_authority-0.13.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f55573ef33e10946f916be4bd5c776f3", "sha256": "4aaad7ffada86742d4fbef30e149bb7c8c29433c290f9a48a6de6175d0704f52" }, "downloads": -1, "filename": "django-authority-0.13.1.tar.gz", "has_sig": false, "md5_digest": "f55573ef33e10946f916be4bd5c776f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151981, "upload_time": "2018-01-28T14:04:23", "url": "https://files.pythonhosted.org/packages/58/64/d100286ff26568926ef7b9f2314c1759b2f5032296d4b2c0ae0fcd6d44a0/django-authority-0.13.1.tar.gz" } ], "0.13.2": [ { "comment_text": "", "digests": { "md5": "60f773f9d0d6552a4e86b2d41e2b8290", "sha256": "3baf6cc05d8a73ae1ac46edb7e179fcf1b305f1324f0535284ce003afc20fe1e" }, "downloads": -1, "filename": "django_authority-0.13.2-py3-none-any.whl", "has_sig": false, "md5_digest": "60f773f9d0d6552a4e86b2d41e2b8290", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41562, "upload_time": "2018-01-28T15:08:58", "url": "https://files.pythonhosted.org/packages/02/fc/b14fa0f910ea96c59b51a481a9ce91c9ec2905e301ccb894f2c1660448af/django_authority-0.13.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "15e1c9b300b20036eb0ab1e55a7823f0", "sha256": "81754c8c7dac391ad068524efebff5f6450210bae3daaac6cdefd5480594ff8f" }, "downloads": -1, "filename": "django-authority-0.13.2.tar.gz", "has_sig": false, "md5_digest": "15e1c9b300b20036eb0ab1e55a7823f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151981, "upload_time": "2018-01-28T15:09:17", "url": "https://files.pythonhosted.org/packages/46/21/74208500137656fd4f3edf53c3ee42e9fde526d45ecb34c04732dfc4cc51/django-authority-0.13.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "105f9feceefd555dcda90f7ca4152d14", "sha256": "b704e8752160d33e4710b0960c62a080b9579d12838ccfa1430722f613194ce2" }, "downloads": -1, "filename": "django-authority-0.2.tar.gz", "has_sig": true, "md5_digest": "105f9feceefd555dcda90f7ca4152d14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 452063, "upload_time": "2009-07-17T14:15:07", "url": "https://files.pythonhosted.org/packages/c5/1e/f33b341b5d1f8d96935a2e62f648932d08beea306f2fdad101e2fd77475c/django-authority-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "68b70aae6fb7738340aa9172236a235b", "sha256": "a57d1a83b13e9b321ccfc6199635f5f586f325b4c7a31a347df396031d729692" }, "downloads": -1, "filename": "django-authority-0.3.tar.gz", "has_sig": true, "md5_digest": "68b70aae6fb7738340aa9172236a235b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 456586, "upload_time": "2009-07-28T17:59:21", "url": "https://files.pythonhosted.org/packages/0a/a7/17b3254ec868e825b001db4433000a2f47b0922bef6a3c1f017a4fe91acf/django-authority-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "9539865bb869ea4538d042b4a75c771b", "sha256": "025661a5b65c7276fb79cf1f5b1ef9c9698e6330d324c59dceaabcfca9019d28" }, "downloads": -1, "filename": "django-authority-0.4.tar.gz", "has_sig": true, "md5_digest": "9539865bb869ea4538d042b4a75c771b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47952, "upload_time": "2010-01-15T22:53:19", "url": "https://files.pythonhosted.org/packages/8b/a5/99f229d64bd4bf6618c77ed707dc0f1780e0c1c79bf8a4d3f471b68e8d4f/django-authority-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "dcfa896bdd382c99739deebfef13eda2", "sha256": "085714c93b8b2c64b4ec6704cc80895319fbf9fb199980ba12da4d64d67109ec" }, "downloads": -1, "filename": "django-authority-0.5.tar.gz", "has_sig": false, "md5_digest": "dcfa896bdd382c99739deebfef13eda2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36514, "upload_time": "2013-03-22T15:41:45", "url": "https://files.pythonhosted.org/packages/af/b4/f4725229646b4c4a1cb314d66480ac0f667bcb6d06fe2375d6a00afb1fb9/django-authority-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "611243e0b38c5be7e2af6d411361ba91", "sha256": "1a29edc39022d9227ecd2aa5dad8b8e11c3621774f56a2580384be9e645fa5ed" }, "downloads": -1, "filename": "django-authority-0.6.tar.gz", "has_sig": false, "md5_digest": "611243e0b38c5be7e2af6d411361ba91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37584, "upload_time": "2013-06-13T14:25:31", "url": "https://files.pythonhosted.org/packages/92/81/ce0f4ee6c7fa2e2e8e772b41549dd2021c50adf61edf01807b464a388f25/django-authority-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "97c645ecdb2f75a461536771b024f5bc", "sha256": "2c352cc10969093b4b5ce1ec7433aa75501e4d749c07ed2608e379d028a3e40d" }, "downloads": -1, "filename": "django-authority-0.7.tar.gz", "has_sig": false, "md5_digest": "97c645ecdb2f75a461536771b024f5bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37704, "upload_time": "2013-07-03T20:42:32", "url": "https://files.pythonhosted.org/packages/b2/32/88169d65248d4c74b773d92686d2e6ebefae5a82fb9969b41f49f8ab276b/django-authority-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "32bd5c2bac9f7b9c6f5ebc1b434b96c3", "sha256": "d04cd5c1fa7cb27afec76ac1066b7f4a993b0620a57e3dfca75bf7ea8c372b89" }, "downloads": -1, "filename": "django-authority-0.8.tar.gz", "has_sig": false, "md5_digest": "32bd5c2bac9f7b9c6f5ebc1b434b96c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37756, "upload_time": "2013-12-20T19:32:41", "url": "https://files.pythonhosted.org/packages/41/f5/eae79fb4997c97b1bad4cbcf47f5dd40a22ba67556bc1f1a724d8219d736/django-authority-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "1ae31515e4cd2e39c3fe699ed799bf1f", "sha256": "18cea526ad714068c24d01e038a95fbad669ae4a0f798cb819054b9b163dc20e" }, "downloads": -1, "filename": "django-authority-0.9.tar.gz", "has_sig": false, "md5_digest": "1ae31515e4cd2e39c3fe699ed799bf1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38204, "upload_time": "2015-11-11T16:20:23", "url": "https://files.pythonhosted.org/packages/9a/d1/e4b827d76c55029a90e60c6c5f898b7e7f22765d7be958d385c7f0eda1e7/django-authority-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60f773f9d0d6552a4e86b2d41e2b8290", "sha256": "3baf6cc05d8a73ae1ac46edb7e179fcf1b305f1324f0535284ce003afc20fe1e" }, "downloads": -1, "filename": "django_authority-0.13.2-py3-none-any.whl", "has_sig": false, "md5_digest": "60f773f9d0d6552a4e86b2d41e2b8290", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41562, "upload_time": "2018-01-28T15:08:58", "url": "https://files.pythonhosted.org/packages/02/fc/b14fa0f910ea96c59b51a481a9ce91c9ec2905e301ccb894f2c1660448af/django_authority-0.13.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "15e1c9b300b20036eb0ab1e55a7823f0", "sha256": "81754c8c7dac391ad068524efebff5f6450210bae3daaac6cdefd5480594ff8f" }, "downloads": -1, "filename": "django-authority-0.13.2.tar.gz", "has_sig": false, "md5_digest": "15e1c9b300b20036eb0ab1e55a7823f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151981, "upload_time": "2018-01-28T15:09:17", "url": "https://files.pythonhosted.org/packages/46/21/74208500137656fd4f3edf53c3ee42e9fde526d45ecb34c04732dfc4cc51/django-authority-0.13.2.tar.gz" } ] }