{"action":"opened","number":2756,"pull_request":{"url":"https://api.github.com/repos/gocd/gocd/pulls/2756","id":87762726,"html_url":"https://github.com/gocd/gocd/pull/2756","diff_url":"https://github.com/gocd/gocd/pull/2756.diff","patch_url":"https://github.com/gocd/gocd/pull/2756.patch","issue_url":"https://api.github.com/repos/gocd/gocd/issues/2756","number":2756,"state":"open","locked":false,"title":"Fix checkbox for allowOnlyKnownUsersToLogin #736","user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"body":"Issue described in #736. Was not working because the understanding of how the hidden value works in a form with a checkbox seemed wrong. It's now correct.\r\n\r\n- When disabled: It's checked and disabled. (First time server is started and no users are enabled)\r\n- When checkbox is checked: The hidden value is set to \"false\" (so that it can take over if the checkbox is disabled by the user).\r\n- When checkbox is unchecked: The hidden value is set to \"false\" and the checkbox value is set to \"true\" (so that it can override the hidden value if checked by the user).\r\n\r\n","created_at":"2016-10-03T18:05:30Z","updated_at":"2016-10-03T18:05:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"assignees":[{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gocd/gocd/milestones/21","html_url":"https://github.com/gocd/gocd/milestones/Release%2016.11","labels_url":"https://api.github.com/repos/gocd/gocd/milestones/21/labels","id":1992562,"number":21,"title":"Release 16.11","description":"","creator":{"login":"zabil","id":54427,"avatar_url":"https://avatars.githubusercontent.com/u/54427?v=3","gravatar_id":"","url":"https://api.github.com/users/zabil","html_url":"https://github.com/zabil","followers_url":"https://api.github.com/users/zabil/followers","following_url":"https://api.github.com/users/zabil/following{/other_user}","gists_url":"https://api.github.com/users/zabil/gists{/gist_id}","starred_url":"https://api.github.com/users/zabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabil/subscriptions","organizations_url":"https://api.github.com/users/zabil/orgs","repos_url":"https://api.github.com/users/zabil/repos","events_url":"https://api.github.com/users/zabil/events{/privacy}","received_events_url":"https://api.github.com/users/zabil/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":11,"state":"open","created_at":"2016-09-09T03:57:44Z","updated_at":"2016-10-03T18:05:30Z","due_on":"2016-10-15T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/gocd/gocd/pulls/2756/commits","review_comments_url":"https://api.github.com/repos/gocd/gocd/pulls/2756/comments","review_comment_url":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/2756/comments","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/25f4bcc8172a6c495f49c97d8c1515c1fcba2216","head":{"label":"arvindsv:fix_allow_auto_login_checkbox_issue","ref":"fix_allow_auto_login_checkbox_issue","sha":"25f4bcc8172a6c495f49c97d8c1515c1fcba2216","user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"repo":{"id":19228032,"name":"gocd","full_name":"arvindsv/gocd","owner":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arvindsv/gocd","description":"Main repository for Go Continuous Delivery","fork":true,"url":"https://api.github.com/repos/arvindsv/gocd","forks_url":"https://api.github.com/repos/arvindsv/gocd/forks","keys_url":"https://api.github.com/repos/arvindsv/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arvindsv/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arvindsv/gocd/teams","hooks_url":"https://api.github.com/repos/arvindsv/gocd/hooks","issue_events_url":"https://api.github.com/repos/arvindsv/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/arvindsv/gocd/events","assignees_url":"https://api.github.com/repos/arvindsv/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/arvindsv/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/arvindsv/gocd/tags","blobs_url":"https://api.github.com/repos/arvindsv/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arvindsv/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arvindsv/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/arvindsv/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arvindsv/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/arvindsv/gocd/languages","stargazers_url":"https://api.github.com/repos/arvindsv/gocd/stargazers","contributors_url":"https://api.github.com/repos/arvindsv/gocd/contributors","subscribers_url":"https://api.github.com/repos/arvindsv/gocd/subscribers","subscription_url":"https://api.github.com/repos/arvindsv/gocd/subscription","commits_url":"https://api.github.com/repos/arvindsv/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/arvindsv/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/arvindsv/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/arvindsv/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/arvindsv/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/arvindsv/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arvindsv/gocd/merges","archive_url":"https://api.github.com/repos/arvindsv/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arvindsv/gocd/downloads","issues_url":"https://api.github.com/repos/arvindsv/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/arvindsv/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/arvindsv/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/arvindsv/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arvindsv/gocd/labels{/name}","releases_url":"https://api.github.com/repos/arvindsv/gocd/releases{/id}","deployments_url":"https://api.github.com/repos/arvindsv/gocd/deployments","created_at":"2014-04-28T05:27:12Z","updated_at":"2016-04-13T18:48:16Z","pushed_at":"2016-10-03T17:59:35Z","git_url":"git://github.com/arvindsv/gocd.git","ssh_url":"git@github.com:arvindsv/gocd.git","clone_url":"https://github.com/arvindsv/gocd.git","svn_url":"https://github.com/arvindsv/gocd","homepage":null,"size":242874,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"gocd:master","ref":"master","sha":"e116274243664d04ab83f43d25336a9a60626565","user":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"repo":{"id":15155534,"name":"gocd","full_name":"gocd/gocd","owner":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocd/gocd","description":"Main repository for GoCD - Continuous Delivery server","fork":false,"url":"https://api.github.com/repos/gocd/gocd","forks_url":"https://api.github.com/repos/gocd/gocd/forks","keys_url":"https://api.github.com/repos/gocd/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocd/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocd/gocd/teams","hooks_url":"https://api.github.com/repos/gocd/gocd/hooks","issue_events_url":"https://api.github.com/repos/gocd/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/gocd/gocd/events","assignees_url":"https://api.github.com/repos/gocd/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/gocd/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/gocd/gocd/tags","blobs_url":"https://api.github.com/repos/gocd/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocd/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocd/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocd/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/gocd/gocd/languages","stargazers_url":"https://api.github.com/repos/gocd/gocd/stargazers","contributors_url":"https://api.github.com/repos/gocd/gocd/contributors","subscribers_url":"https://api.github.com/repos/gocd/gocd/subscribers","subscription_url":"https://api.github.com/repos/gocd/gocd/subscription","commits_url":"https://api.github.com/repos/gocd/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocd/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocd/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocd/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocd/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/gocd/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocd/gocd/merges","archive_url":"https://api.github.com/repos/gocd/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocd/gocd/downloads","issues_url":"https://api.github.com/repos/gocd/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/gocd/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/gocd/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/gocd/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocd/gocd/labels{/name}","releases_url":"https://api.github.com/repos/gocd/gocd/releases{/id}","deployments_url":"https://api.github.com/repos/gocd/gocd/deployments","created_at":"2013-12-13T05:26:16Z","updated_at":"2016-10-03T17:14:42Z","pushed_at":"2016-10-03T06:44:26Z","git_url":"git://github.com/gocd/gocd.git","ssh_url":"git@github.com:gocd/gocd.git","clone_url":"https://github.com/gocd/gocd.git","svn_url":"https://github.com/gocd/gocd","homepage":"https://go.cd","size":314012,"stargazers_count":2602,"watchers_count":2602,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":482,"mirror_url":null,"open_issues_count":648,"forks":482,"open_issues":648,"watchers":2602,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2756"},"html":{"href":"https://github.com/gocd/gocd/pull/2756"},"issue":{"href":"https://api.github.com/repos/gocd/gocd/issues/2756"},"comments":{"href":"https://api.github.com/repos/gocd/gocd/issues/2756/comments"},"review_comments":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2756/comments"},"review_comment":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2756/commits"},"statuses":{"href":"https://api.github.com/repos/gocd/gocd/statuses/25f4bcc8172a6c495f49c97d8c1515c1fcba2216"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":66,"deletions":15,"changed_files":4}}
{"actor":{"display_login":"arvindsv"}}