{"action":"created","comment":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/comments/64686082","id":64686082,"diff_hunk":"@@ -75,6 +75,54 @@ DATABASES = {\n }\n \n # Authentication\n+{% if AUTH_USE_OVERRIDE -%}\n+AUTHENTICATION_BACKENDS = (\n+    # MOCK - If enabled, Use MockLoginBackend first for single-user access.\n+    # Helpful for debug/development. Be sure to set Atmosphere to MockLoginBackend.\n+    {% if AUTH_ENABLE_MOCK -%}\n+    'iplantauth.authBackends.MockLoginBackend',\n+    {% else -%}\n+    # 'iplantauth.authBackends.MockLoginBackend',\n+    {% endif -%}\n+    #\n+    # AuthToken - Allows staff emulation via API\n+    # by using existing tokens as simple authentication.\n+    'iplantauth.authBackends.AuthTokenLoginBackend',\n+    #\n+    # ModelBackend - Allow traditional username/password. Helpful when using areas\n+    # of the application that do not work with SSO backends (Globus, OAuth)\n+    # Basically, this will come in handy if you are not using LDAP\n+    {% if AUTH_ENABLE_MODEL -%}\n+    'django.contrib.auth.backends.ModelBackend',\n+    {% else -%}\n+    # 'django.contrib.auth.backends.ModelBackend',\n+    {% endif -%}\n+    #\n+    # Single Sign On Backend - This backend should give you the ability to authenticate\n+    # and then authorize a user, (Usually, based on OAuth or some other token exchange)\n+    {% if AUTH_ENABLE_GLOBUS -%}\n+    # Globus OAuth\n+    'iplantauth.authBackends.GlobusOAuthLoginBackend',\n+    {% elif AUTH_ENABLE_CAS or AUTH_ENABLE_OAUTH -%}\n+    # CAS OAuth implementation of SSO\n+    'iplantauth.authBackends.OAuthLoginBackend',\n+    {% elif AUTH_ENABLE_MOCK -%}\n+    # Hello developer, you have","path":"troposphere/settings/local.py.j2","position":36,"original_position":36,"commit_id":"4cc70595dc1d2c3d938794ac04b9098a632d4cbc","original_commit_id":"4cc70595dc1d2c3d938794ac04b9098a632d4cbc","user":{"login":"lenards","id":5923,"avatar_url":"https://avatars.githubusercontent.com/u/5923?v=3","gravatar_id":"","url":"https://api.github.com/users/lenards","html_url":"https://github.com/lenards","followers_url":"https://api.github.com/users/lenards/followers","following_url":"https://api.github.com/users/lenards/following{/other_user}","gists_url":"https://api.github.com/users/lenards/gists{/gist_id}","starred_url":"https://api.github.com/users/lenards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenards/subscriptions","organizations_url":"https://api.github.com/users/lenards/orgs","repos_url":"https://api.github.com/users/lenards/repos","events_url":"https://api.github.com/users/lenards/events{/privacy}","received_events_url":"https://api.github.com/users/lenards/received_events","type":"User","site_admin":false},"body":"hello to you too! :wave","created_at":"2016-05-26T03:01:22Z","updated_at":"2016-05-26T03:01:22Z","html_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/367#discussion_r64686082","pull_request_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367","_links":{"self":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/comments/64686082"},"html":{"href":"https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/367#discussion_r64686082"},"pull_request":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367"}}},"pull_request":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367","id":71478407,"html_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/367","diff_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/367.diff","patch_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/367.patch","issue_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues/367","number":367,"state":"open","locked":false,"title":"Create a configurable AUTHENTICATION_BACKENDS for Troposphere","user":{"login":"steve-gregory","id":2889930,"avatar_url":"https://avatars.githubusercontent.com/u/2889930?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-gregory","html_url":"https://github.com/steve-gregory","followers_url":"https://api.github.com/users/steve-gregory/followers","following_url":"https://api.github.com/users/steve-gregory/following{/other_user}","gists_url":"https://api.github.com/users/steve-gregory/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-gregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-gregory/subscriptions","organizations_url":"https://api.github.com/users/steve-gregory/orgs","repos_url":"https://api.github.com/users/steve-gregory/repos","events_url":"https://api.github.com/users/steve-gregory/events{/privacy}","received_events_url":"https://api.github.com/users/steve-gregory/received_events","type":"User","site_admin":false},"body":"To allow the configuration of multiple sites, BACKENDS must be configured at the local.py level, rather than pre-assigned defaults.\r\n\r\nThis PR allows someone to set AUTH_USE_OVERRIDE to True and create their own reality. ☁️ ✈️ \r\n\r\n- [X] Updated 'the secrets repo' with latest variables and a proper override configuration.","created_at":"2016-05-25T23:19:35Z","updated_at":"2016-05-26T03:01:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89abc7a96adad9a3cab086e5a84227f23986cf2b","assignee":{"login":"lenards","id":5923,"avatar_url":"https://avatars.githubusercontent.com/u/5923?v=3","gravatar_id":"","url":"https://api.github.com/users/lenards","html_url":"https://github.com/lenards","followers_url":"https://api.github.com/users/lenards/followers","following_url":"https://api.github.com/users/lenards/following{/other_user}","gists_url":"https://api.github.com/users/lenards/gists{/gist_id}","starred_url":"https://api.github.com/users/lenards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenards/subscriptions","organizations_url":"https://api.github.com/users/lenards/orgs","repos_url":"https://api.github.com/users/lenards/repos","events_url":"https://api.github.com/users/lenards/events{/privacy}","received_events_url":"https://api.github.com/users/lenards/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/milestones/3","html_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere/milestones/Nautical%20Nighthawk","labels_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/milestones/3/labels","id":1556350,"number":3,"title":"Nautical Nighthawk","description":"","creator":{"login":"lenards","id":5923,"avatar_url":"https://avatars.githubusercontent.com/u/5923?v=3","gravatar_id":"","url":"https://api.github.com/users/lenards","html_url":"https://github.com/lenards","followers_url":"https://api.github.com/users/lenards/followers","following_url":"https://api.github.com/users/lenards/following{/other_user}","gists_url":"https://api.github.com/users/lenards/gists{/gist_id}","starred_url":"https://api.github.com/users/lenards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenards/subscriptions","organizations_url":"https://api.github.com/users/lenards/orgs","repos_url":"https://api.github.com/users/lenards/repos","events_url":"https://api.github.com/users/lenards/events{/privacy}","received_events_url":"https://api.github.com/users/lenards/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":29,"state":"open","created_at":"2016-02-01T17:52:45Z","updated_at":"2016-05-25T23:19:35Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367/commits","review_comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367/comments","review_comment_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues/367/comments","statuses_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/statuses/4cc70595dc1d2c3d938794ac04b9098a632d4cbc","head":{"label":"steve-gregory:nn-configurable-auth-backends","ref":"nn-configurable-auth-backends","sha":"4cc70595dc1d2c3d938794ac04b9098a632d4cbc","user":{"login":"steve-gregory","id":2889930,"avatar_url":"https://avatars.githubusercontent.com/u/2889930?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-gregory","html_url":"https://github.com/steve-gregory","followers_url":"https://api.github.com/users/steve-gregory/followers","following_url":"https://api.github.com/users/steve-gregory/following{/other_user}","gists_url":"https://api.github.com/users/steve-gregory/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-gregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-gregory/subscriptions","organizations_url":"https://api.github.com/users/steve-gregory/orgs","repos_url":"https://api.github.com/users/steve-gregory/repos","events_url":"https://api.github.com/users/steve-gregory/events{/privacy}","received_events_url":"https://api.github.com/users/steve-gregory/received_events","type":"User","site_admin":false},"repo":{"id":52845014,"name":"troposphere","full_name":"steve-gregory/troposphere","owner":{"login":"steve-gregory","id":2889930,"avatar_url":"https://avatars.githubusercontent.com/u/2889930?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-gregory","html_url":"https://github.com/steve-gregory","followers_url":"https://api.github.com/users/steve-gregory/followers","following_url":"https://api.github.com/users/steve-gregory/following{/other_user}","gists_url":"https://api.github.com/users/steve-gregory/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-gregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-gregory/subscriptions","organizations_url":"https://api.github.com/users/steve-gregory/orgs","repos_url":"https://api.github.com/users/steve-gregory/repos","events_url":"https://api.github.com/users/steve-gregory/events{/privacy}","received_events_url":"https://api.github.com/users/steve-gregory/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steve-gregory/troposphere","description":"Atmosphere web client","fork":true,"url":"https://api.github.com/repos/steve-gregory/troposphere","forks_url":"https://api.github.com/repos/steve-gregory/troposphere/forks","keys_url":"https://api.github.com/repos/steve-gregory/troposphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steve-gregory/troposphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steve-gregory/troposphere/teams","hooks_url":"https://api.github.com/repos/steve-gregory/troposphere/hooks","issue_events_url":"https://api.github.com/repos/steve-gregory/troposphere/issues/events{/number}","events_url":"https://api.github.com/repos/steve-gregory/troposphere/events","assignees_url":"https://api.github.com/repos/steve-gregory/troposphere/assignees{/user}","branches_url":"https://api.github.com/repos/steve-gregory/troposphere/branches{/branch}","tags_url":"https://api.github.com/repos/steve-gregory/troposphere/tags","blobs_url":"https://api.github.com/repos/steve-gregory/troposphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steve-gregory/troposphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steve-gregory/troposphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/steve-gregory/troposphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steve-gregory/troposphere/statuses/{sha}","languages_url":"https://api.github.com/repos/steve-gregory/troposphere/languages","stargazers_url":"https://api.github.com/repos/steve-gregory/troposphere/stargazers","contributors_url":"https://api.github.com/repos/steve-gregory/troposphere/contributors","subscribers_url":"https://api.github.com/repos/steve-gregory/troposphere/subscribers","subscription_url":"https://api.github.com/repos/steve-gregory/troposphere/subscription","commits_url":"https://api.github.com/repos/steve-gregory/troposphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/steve-gregory/troposphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/steve-gregory/troposphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/steve-gregory/troposphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/steve-gregory/troposphere/contents/{+path}","compare_url":"https://api.github.com/repos/steve-gregory/troposphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steve-gregory/troposphere/merges","archive_url":"https://api.github.com/repos/steve-gregory/troposphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steve-gregory/troposphere/downloads","issues_url":"https://api.github.com/repos/steve-gregory/troposphere/issues{/number}","pulls_url":"https://api.github.com/repos/steve-gregory/troposphere/pulls{/number}","milestones_url":"https://api.github.com/repos/steve-gregory/troposphere/milestones{/number}","notifications_url":"https://api.github.com/repos/steve-gregory/troposphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steve-gregory/troposphere/labels{/name}","releases_url":"https://api.github.com/repos/steve-gregory/troposphere/releases{/id}","deployments_url":"https://api.github.com/repos/steve-gregory/troposphere/deployments","created_at":"2016-03-01T03:27:06Z","updated_at":"2016-03-01T03:27:08Z","pushed_at":"2016-05-25T23:16:32Z","git_url":"git://github.com/steve-gregory/troposphere.git","ssh_url":"git@github.com:steve-gregory/troposphere.git","clone_url":"https://github.com/steve-gregory/troposphere.git","svn_url":"https://github.com/steve-gregory/troposphere","homepage":null,"size":6737,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iPlantCollaborativeOpenSource:nautical-nighthawk","ref":"nautical-nighthawk","sha":"a67d9823bb402622c1b133f499fb03e7e2a5c3d6","user":{"login":"iPlantCollaborativeOpenSource","id":669032,"avatar_url":"https://avatars.githubusercontent.com/u/669032?v=3","gravatar_id":"","url":"https://api.github.com/users/iPlantCollaborativeOpenSource","html_url":"https://github.com/iPlantCollaborativeOpenSource","followers_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/followers","following_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/following{/other_user}","gists_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/gists{/gist_id}","starred_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/subscriptions","organizations_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/orgs","repos_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/repos","events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/events{/privacy}","received_events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/received_events","type":"Organization","site_admin":false},"repo":{"id":17913633,"name":"troposphere","full_name":"iPlantCollaborativeOpenSource/troposphere","owner":{"login":"iPlantCollaborativeOpenSource","id":669032,"avatar_url":"https://avatars.githubusercontent.com/u/669032?v=3","gravatar_id":"","url":"https://api.github.com/users/iPlantCollaborativeOpenSource","html_url":"https://github.com/iPlantCollaborativeOpenSource","followers_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/followers","following_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/following{/other_user}","gists_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/gists{/gist_id}","starred_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/subscriptions","organizations_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/orgs","repos_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/repos","events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/events{/privacy}","received_events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere","description":"Atmosphere web client","fork":false,"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere","forks_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/forks","keys_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/teams","hooks_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/hooks","issue_events_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues/events{/number}","events_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/events","assignees_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/assignees{/user}","branches_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/branches{/branch}","tags_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/tags","blobs_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/statuses/{sha}","languages_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/languages","stargazers_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/stargazers","contributors_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/contributors","subscribers_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/subscribers","subscription_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/subscription","commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/contents/{+path}","compare_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/merges","archive_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/downloads","issues_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues{/number}","pulls_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls{/number}","milestones_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/milestones{/number}","notifications_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/labels{/name}","releases_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/releases{/id}","deployments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/deployments","created_at":"2014-03-19T17:26:44Z","updated_at":"2016-05-16T18:45:52Z","pushed_at":"2016-05-26T02:45:59Z","git_url":"git://github.com/iPlantCollaborativeOpenSource/troposphere.git","ssh_url":"git@github.com:iPlantCollaborativeOpenSource/troposphere.git","clone_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere.git","svn_url":"https://github.com/iPlantCollaborativeOpenSource/troposphere","homepage":null,"size":7264,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367"},"html":{"href":"https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/367"},"issue":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues/367"},"comments":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/issues/367/comments"},"review_comments":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367/comments"},"review_comment":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/pulls/367/commits"},"statuses":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/troposphere/statuses/4cc70595dc1d2c3d938794ac04b9098a632d4cbc"}}}}
{"actor":{"display_login":"lenards"}}