{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/Homebrew/install/pulls/32","id":56214511,"html_url":"https://github.com/Homebrew/install/pull/32","diff_url":"https://github.com/Homebrew/install/pull/32.diff","patch_url":"https://github.com/Homebrew/install/pull/32.patch","issue_url":"https://api.github.com/repos/Homebrew/install/issues/32","number":32,"state":"open","locked":false,"title":"Correctly determine membership in the 'admin' group when 'group' only","user":{"login":"invisiblethreat","id":2525006,"avatar_url":"https://avatars.githubusercontent.com/u/2525006?v=3","gravatar_id":"","url":"https://api.github.com/users/invisiblethreat","html_url":"https://github.com/invisiblethreat","followers_url":"https://api.github.com/users/invisiblethreat/followers","following_url":"https://api.github.com/users/invisiblethreat/following{/other_user}","gists_url":"https://api.github.com/users/invisiblethreat/gists{/gist_id}","starred_url":"https://api.github.com/users/invisiblethreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisiblethreat/subscriptions","organizations_url":"https://api.github.com/users/invisiblethreat/orgs","repos_url":"https://api.github.com/users/invisiblethreat/repos","events_url":"https://api.github.com/users/invisiblethreat/events{/privacy}","received_events_url":"https://api.github.com/users/invisiblethreat/received_events","type":"User","site_admin":false},"body":"When a computer is 'managed', it won't return the local groups, but rather the organization's groups:\r\n```\r\n$ groups\r\nCOMPANY\\Domain Users COMPANY\\Document Managers COMPANY\\Wireless\r\n```\r\n\r\nWhich will cause the installer to fail, because it can't find 'admin'\r\n```\r\n$ ruby install\r\nThis script requires the user swalsh to be an Administrator. If this\r\nsucks for you then you can install Homebrew in your home directory or however\r\nyou please; please refer to our homepage. If you still want to use this script\r\nset your user to be an Administrator in System Preferences or `su' to a\r\nnon-root user with Administrator privileges.\r\n```\r\n\r\nThe OSX-y way of doing this is 'dsmemberutil':\r\n```\r\n$ dsmemberutil checkmembership -U swalsh -G admin\r\nuser is a member of the group\r\n```","created_at":"2016-01-15T20:00:59Z","updated_at":"2016-01-15T20:00:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/install/pulls/32/commits","review_comments_url":"https://api.github.com/repos/Homebrew/install/pulls/32/comments","review_comment_url":"https://api.github.com/repos/Homebrew/install/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/install/issues/32/comments","statuses_url":"https://api.github.com/repos/Homebrew/install/statuses/a77f2e611267218db08a14f72dff0be389ec599c","head":{"label":"invisiblethreat:dsmemberutil","ref":"dsmemberutil","sha":"a77f2e611267218db08a14f72dff0be389ec599c","user":{"login":"invisiblethreat","id":2525006,"avatar_url":"https://avatars.githubusercontent.com/u/2525006?v=3","gravatar_id":"","url":"https://api.github.com/users/invisiblethreat","html_url":"https://github.com/invisiblethreat","followers_url":"https://api.github.com/users/invisiblethreat/followers","following_url":"https://api.github.com/users/invisiblethreat/following{/other_user}","gists_url":"https://api.github.com/users/invisiblethreat/gists{/gist_id}","starred_url":"https://api.github.com/users/invisiblethreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisiblethreat/subscriptions","organizations_url":"https://api.github.com/users/invisiblethreat/orgs","repos_url":"https://api.github.com/users/invisiblethreat/repos","events_url":"https://api.github.com/users/invisiblethreat/events{/privacy}","received_events_url":"https://api.github.com/users/invisiblethreat/received_events","type":"User","site_admin":false},"repo":{"id":49740687,"name":"install","full_name":"invisiblethreat/install","owner":{"login":"invisiblethreat","id":2525006,"avatar_url":"https://avatars.githubusercontent.com/u/2525006?v=3","gravatar_id":"","url":"https://api.github.com/users/invisiblethreat","html_url":"https://github.com/invisiblethreat","followers_url":"https://api.github.com/users/invisiblethreat/followers","following_url":"https://api.github.com/users/invisiblethreat/following{/other_user}","gists_url":"https://api.github.com/users/invisiblethreat/gists{/gist_id}","starred_url":"https://api.github.com/users/invisiblethreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisiblethreat/subscriptions","organizations_url":"https://api.github.com/users/invisiblethreat/orgs","repos_url":"https://api.github.com/users/invisiblethreat/repos","events_url":"https://api.github.com/users/invisiblethreat/events{/privacy}","received_events_url":"https://api.github.com/users/invisiblethreat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/invisiblethreat/install","description":":inbox_tray: Homebrew (un)installer","fork":true,"url":"https://api.github.com/repos/invisiblethreat/install","forks_url":"https://api.github.com/repos/invisiblethreat/install/forks","keys_url":"https://api.github.com/repos/invisiblethreat/install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/invisiblethreat/install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/invisiblethreat/install/teams","hooks_url":"https://api.github.com/repos/invisiblethreat/install/hooks","issue_events_url":"https://api.github.com/repos/invisiblethreat/install/issues/events{/number}","events_url":"https://api.github.com/repos/invisiblethreat/install/events","assignees_url":"https://api.github.com/repos/invisiblethreat/install/assignees{/user}","branches_url":"https://api.github.com/repos/invisiblethreat/install/branches{/branch}","tags_url":"https://api.github.com/repos/invisiblethreat/install/tags","blobs_url":"https://api.github.com/repos/invisiblethreat/install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/invisiblethreat/install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/invisiblethreat/install/git/refs{/sha}","trees_url":"https://api.github.com/repos/invisiblethreat/install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/invisiblethreat/install/statuses/{sha}","languages_url":"https://api.github.com/repos/invisiblethreat/install/languages","stargazers_url":"https://api.github.com/repos/invisiblethreat/install/stargazers","contributors_url":"https://api.github.com/repos/invisiblethreat/install/contributors","subscribers_url":"https://api.github.com/repos/invisiblethreat/install/subscribers","subscription_url":"https://api.github.com/repos/invisiblethreat/install/subscription","commits_url":"https://api.github.com/repos/invisiblethreat/install/commits{/sha}","git_commits_url":"https://api.github.com/repos/invisiblethreat/install/git/commits{/sha}","comments_url":"https://api.github.com/repos/invisiblethreat/install/comments{/number}","issue_comment_url":"https://api.github.com/repos/invisiblethreat/install/issues/comments{/number}","contents_url":"https://api.github.com/repos/invisiblethreat/install/contents/{+path}","compare_url":"https://api.github.com/repos/invisiblethreat/install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/invisiblethreat/install/merges","archive_url":"https://api.github.com/repos/invisiblethreat/install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/invisiblethreat/install/downloads","issues_url":"https://api.github.com/repos/invisiblethreat/install/issues{/number}","pulls_url":"https://api.github.com/repos/invisiblethreat/install/pulls{/number}","milestones_url":"https://api.github.com/repos/invisiblethreat/install/milestones{/number}","notifications_url":"https://api.github.com/repos/invisiblethreat/install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/invisiblethreat/install/labels{/name}","releases_url":"https://api.github.com/repos/invisiblethreat/install/releases{/id}","created_at":"2016-01-15T19:36:14Z","updated_at":"2016-01-15T19:36:15Z","pushed_at":"2016-01-15T19:53:36Z","git_url":"git://github.com/invisiblethreat/install.git","ssh_url":"git@github.com:invisiblethreat/install.git","clone_url":"https://github.com/invisiblethreat/install.git","svn_url":"https://github.com/invisiblethreat/install","homepage":"http://brew.sh","size":47,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"Homebrew:master","ref":"master","sha":"7a8c21862ec3cdb3858037f5edc7bc8958bec23e","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":23519392,"name":"install","full_name":"Homebrew/install","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/install","description":":inbox_tray: Homebrew (un)installer","fork":false,"url":"https://api.github.com/repos/Homebrew/install","forks_url":"https://api.github.com/repos/Homebrew/install/forks","keys_url":"https://api.github.com/repos/Homebrew/install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/install/teams","hooks_url":"https://api.github.com/repos/Homebrew/install/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/install/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/install/events","assignees_url":"https://api.github.com/repos/Homebrew/install/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/install/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/install/tags","blobs_url":"https://api.github.com/repos/Homebrew/install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/install/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/install/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/install/languages","stargazers_url":"https://api.github.com/repos/Homebrew/install/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/install/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/install/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/install/subscription","commits_url":"https://api.github.com/repos/Homebrew/install/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/install/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/install/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/install/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/install/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/install/merges","archive_url":"https://api.github.com/repos/Homebrew/install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/install/downloads","issues_url":"https://api.github.com/repos/Homebrew/install/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/install/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/install/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/install/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/install/releases{/id}","created_at":"2014-08-31T17:48:16Z","updated_at":"2015-12-04T20:43:45Z","pushed_at":"2015-12-09T08:02:29Z","git_url":"git://github.com/Homebrew/install.git","ssh_url":"git@github.com:Homebrew/install.git","clone_url":"https://github.com/Homebrew/install.git","svn_url":"https://github.com/Homebrew/install","homepage":"http://brew.sh","size":63,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":1,"forks":27,"open_issues":1,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/install/pulls/32"},"html":{"href":"https://github.com/Homebrew/install/pull/32"},"issue":{"href":"https://api.github.com/repos/Homebrew/install/issues/32"},"comments":{"href":"https://api.github.com/repos/Homebrew/install/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/install/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/install/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/install/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/install/statuses/a77f2e611267218db08a14f72dff0be389ec599c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}