{ "info": { "author": "Jonathon Yu", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP" ], "description": "# Access and Compliance\n\nAccess and compliance is a simple Django app to check and verify a\nuser's acceptance of University of Michigan's Access and Compliance\npolicy.\n\n## Quick start\n\n1. Add 'django_access_and_compliance' to your `INSTALLED_APPS` setting like this:\n\n```python\n INSTALLED_APPS = [\n 'django_access_and_compliance',\n ...\n ]\n```\n\n2. Configure the following settings in your application:\n\n```python\n# the URL for the desired access and compliance webservice\nACCESS_AND_COMPLIANCE_VALIDATION_URL\n\n# truthy values returned by validation endpoint; e.g. true, yes, etc.\nACCESS_AND_COMPLIANCE_TRUTHY_VALUES\n```\n\n## Behavior\n\nThis application hooks into an existing Django application and listens for the login signal. Once a user logs in, it makes a request to the `ACCESS_AND_COMPLIANCE_VALIDATION_URL` and checks if the response body matches one of the truthy values specified in `ACCESS_AND_COMPLIANCE_TRUTHY_VALUES`.\n\nIf the user has attested to the data access and compliance policy, they will be added to the 'Access and Compliance Members' group.\n\nIt is up to the application admin to configure any applicable permissions on this group.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-access-and-compliance", "package_url": "https://pypi.org/project/django-access-and-compliance/", "platform": "", "project_url": "https://pypi.org/project/django-access-and-compliance/", "project_urls": null, "release_url": "https://pypi.org/project/django-access-and-compliance/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "A Django application for verifying acceptance of the University of Michigan's Data Access and Compliance Policy", "version": "0.1.5" }, "last_serial": 5156821, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "a82393b491d60e26994a4f34cecf0089", "sha256": "5f9426b9c63e188e23ec6505fd2f995ea8091893488696e589062d3ce9031bf5" }, "downloads": -1, "filename": "django-access-and-compliance-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a82393b491d60e26994a4f34cecf0089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2623, "upload_time": "2019-04-16T17:41:31", "url": "https://files.pythonhosted.org/packages/55/cf/e71fe22dd28e6f1db0da8e1a9fa97be4a6b28cff210dea1298815a3c4f9e/django-access-and-compliance-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "4e16df7353e144183c816223c2c33176", "sha256": "3eaf0161085d75571e2c04b05852b7e38d62064a04a33fba2262bb66886e5a04" }, "downloads": -1, "filename": "django-access-and-compliance-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4e16df7353e144183c816223c2c33176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2525, "upload_time": "2019-04-16T17:53:25", "url": "https://files.pythonhosted.org/packages/6b/0a/58c1b3f8edd19ab6a5ebab2ed8c4ad85f2c4f2d40ad034d623d28b9db5ff/django-access-and-compliance-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "1ea60953aa05887b71aefd79ba6d2344", "sha256": "983937c8e6e31429b44993464e008fe32977f20c2e9693842b73024861e55363" }, "downloads": -1, "filename": "django-access-and-compliance-0.1.5.tar.gz", "has_sig": false, "md5_digest": "1ea60953aa05887b71aefd79ba6d2344", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2533, "upload_time": "2019-04-17T19:41:17", "url": "https://files.pythonhosted.org/packages/8f/ae/6a714c1fe29fa38d8d37e6b29e9695748f9a9bf69dbe8f068fb5105f50e5/django-access-and-compliance-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1ea60953aa05887b71aefd79ba6d2344", "sha256": "983937c8e6e31429b44993464e008fe32977f20c2e9693842b73024861e55363" }, "downloads": -1, "filename": "django-access-and-compliance-0.1.5.tar.gz", "has_sig": false, "md5_digest": "1ea60953aa05887b71aefd79ba6d2344", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2533, "upload_time": "2019-04-17T19:41:17", "url": "https://files.pythonhosted.org/packages/8f/ae/6a714c1fe29fa38d8d37e6b29e9695748f9a9bf69dbe8f068fb5105f50e5/django-access-and-compliance-0.1.5.tar.gz" } ] }