{ "info": { "author": "Perfectial", "author_email": "nataliia.todosiychuk@perfectial.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=======================\nDjango Views ACL plugin\n=======================\n\nViews ACL plugin is a Django app that provides:\n - Automatic permissions generation for django views, based on urlpatterns defined in urls.py\n - Control Access to Django Views\n\nViews ACL is flexible plugin, it allows to define list of views,\nfor which permissions will be generated, or define excluded list.\n\nPermission can be assigned for user by admin page.\nBy default if permission for view is generated, the user doesn't have access\nuntil the admin won't give permission for the user.\n\n\nQuick start\n-----------\n\n1. Add \"view_acl\" to your INSTALLED_APPS setting::\n\n INSTALLED_APPS = (\n ...\n 'view_acl',)\n\n\n2. Include 'view_acl.middleware.CustomViewProcessMiddleware' to MIDDLEWARE_CLASSES.\n\n\n3. Add ACL_ALLOWED_VIEWS variable to settings.py.\n Views ACL plugin generate permission for all views defined in ACL_ALLOWED_VIEWS.\n Only those views should be checked for access::\n\n ACL_ALLOWED_VIEWS=('polls.*',)\n\n In this case, permissions will be generated for all views from polls app.\n\n\n4. You can also define ACL_EXCLUDED_VIEWS in settings.py::\n\n ACL_EXCLUDED_VIEWS = ('django.*',)\n\n\n5. If you want to change default name and codename prefix for permission,\n define ACL_CODE_PREFIX and ACL_NAME_PREFIX variables in settings.py::\n\n ACL_NAME_PREFIX = 'Myite ACL '\n ACL_CODE_PREFIX = 'mysite_acl_view'\n\n\n6. Call method for automatic permissions generation based on urlpatterns in urls.py::\n\n view_acl.autodiscover()\n\n\n7. Assign view permissions to user by admin page.\n Default permission name:\n \"ACL app.module.view\"", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Perfectial/django-view-acl", "keywords": null, "license": "Apache License", "maintainer": null, "maintainer_email": null, "name": "django-view-acl", "package_url": "https://pypi.org/project/django-view-acl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-view-acl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Perfectial/django-view-acl" }, "release_url": "https://pypi.org/project/django-view-acl/0.2/", "requires_dist": null, "requires_python": null, "summary": "Views ACL plugin is a Django app to provide method for automatic permissions generation based on urlpatterns in urls.py", "version": "0.2" }, "last_serial": 1850160, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d90171e6969d8cc80447d455145dd8d4", "sha256": "d90733e2799592ede8ed305bb7cd92c510c60727409da5dfb8330c526269a962" }, "downloads": -1, "filename": "django_view_acl-0.1-py3.4.egg", "has_sig": false, "md5_digest": "d90171e6969d8cc80447d455145dd8d4", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 8992, "upload_time": "2015-12-04T13:29:29", "url": "https://files.pythonhosted.org/packages/c9/3a/a8bc8d46e9a1dd28e3711876d8189680f4bb2da6cc89eb4235a64695d694/django_view_acl-0.1-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "745f9fd348afe593af1619df8aa1393c", "sha256": "0fe4eed5c25b311b3dfed91f7c0b7f471fff6b348e7c79e0ac5f2b9e55fa2fac" }, "downloads": -1, "filename": "django_view_acl-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "745f9fd348afe593af1619df8aa1393c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6799, "upload_time": "2015-12-04T13:29:24", "url": "https://files.pythonhosted.org/packages/89/52/73430ddb30530d55f0a867c76795cfa581d099c43e9d50f832661d5fb9dd/django_view_acl-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "efec9c04e541a84ce72c5ee96d9c7879", "sha256": "a28dc2cb6419613e38498691e4a891a6dd628bd0a325330b03c45d333f24874a" }, "downloads": -1, "filename": "django-view-acl-0.2.tar.gz", "has_sig": false, "md5_digest": "efec9c04e541a84ce72c5ee96d9c7879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7614, "upload_time": "2015-12-04T15:35:34", "url": "https://files.pythonhosted.org/packages/53/40/db8e7e84aa4cad62b4c563012490c8ad52a2ad4f421a83ee9a59031dd92d/django-view-acl-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "efec9c04e541a84ce72c5ee96d9c7879", "sha256": "a28dc2cb6419613e38498691e4a891a6dd628bd0a325330b03c45d333f24874a" }, "downloads": -1, "filename": "django-view-acl-0.2.tar.gz", "has_sig": false, "md5_digest": "efec9c04e541a84ce72c5ee96d9c7879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7614, "upload_time": "2015-12-04T15:35:34", "url": "https://files.pythonhosted.org/packages/53/40/db8e7e84aa4cad62b4c563012490c8ad52a2ad4f421a83ee9a59031dd92d/django-view-acl-0.2.tar.gz" } ] }