{"action":"created","comment":{"url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments/47069278","id":47069278,"diff_hunk":"@@ -168,6 +168,10 @@ public function getServiceConfig()\n                     );\n                 },\n \n+                'user_remoteaddress' => function ($sm) {\n+                    $remote = new \\Zend\\Http\\PhpEnvironment\\RemoteAddress();\n+                    return $remote->getIpAddress();\n+                },","path":"module/User/Module.php","position":7,"original_position":7,"commit_id":"3b9fed84e0ff17f059d1499b6d99aa256fd087ba","original_commit_id":"3b9fed84e0ff17f059d1499b6d99aa256fd087ba","user":{"login":"jszanto","id":7968933,"avatar_url":"https://avatars.githubusercontent.com/u/7968933?v=3","gravatar_id":"","url":"https://api.github.com/users/jszanto","html_url":"https://github.com/jszanto","followers_url":"https://api.github.com/users/jszanto/followers","following_url":"https://api.github.com/users/jszanto/following{/other_user}","gists_url":"https://api.github.com/users/jszanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jszanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszanto/subscriptions","organizations_url":"https://api.github.com/users/jszanto/orgs","repos_url":"https://api.github.com/users/jszanto/repos","events_url":"https://api.github.com/users/jszanto/events{/privacy}","received_events_url":"https://api.github.com/users/jszanto/received_events","type":"User","site_admin":false},"body":"Zend framework's ability to add abstraction layers to every single php function or global variable still amazes me every time. ","created_at":"2015-12-09T09:46:23Z","updated_at":"2015-12-09T09:46:23Z","html_url":"https://github.com/GEWIS/gewisweb/pull/292#discussion_r47069278","pull_request_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292","_links":{"self":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments/47069278"},"html":{"href":"https://github.com/GEWIS/gewisweb/pull/292#discussion_r47069278"},"pull_request":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292"}}},"pull_request":{"url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292","id":53035994,"html_url":"https://github.com/GEWIS/gewisweb/pull/292","diff_url":"https://github.com/GEWIS/gewisweb/pull/292.diff","patch_url":"https://github.com/GEWIS/gewisweb/pull/292.patch","issue_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/292","number":292,"state":"open","locked":false,"title":"ACL configuration","user":{"login":"kokx","id":138556,"avatar_url":"https://avatars.githubusercontent.com/u/138556?v=3","gravatar_id":"","url":"https://api.github.com/users/kokx","html_url":"https://github.com/kokx","followers_url":"https://api.github.com/users/kokx/followers","following_url":"https://api.github.com/users/kokx/following{/other_user}","gists_url":"https://api.github.com/users/kokx/gists{/gist_id}","starred_url":"https://api.github.com/users/kokx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokx/subscriptions","organizations_url":"https://api.github.com/users/kokx/orgs","repos_url":"https://api.github.com/users/kokx/repos","events_url":"https://api.github.com/users/kokx/events{/privacy}","received_events_url":"https://api.github.com/users/kokx/received_events","type":"User","site_admin":false},"body":"Configures ACL to:\r\n\r\n- [x] Allow users in TU/e range to view exams\r\n- [x] Give board members the same rights as admins.\r\n- [x] Make it possible to check if a user has access because of an organ relation.\r\n\r\nThis belongs with issues #252 and #253 ","created_at":"2015-12-08T20:46:19Z","updated_at":"2015-12-09T09:46:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"573d20b00168974ae05018b1e0bb26d3e7807e46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292/commits","review_comments_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292/comments","review_comment_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/292/comments","statuses_url":"https://api.github.com/repos/GEWIS/gewisweb/statuses/3b9fed84e0ff17f059d1499b6d99aa256fd087ba","head":{"label":"kokx:feature/acl-configuration","ref":"feature/acl-configuration","sha":"3b9fed84e0ff17f059d1499b6d99aa256fd087ba","user":{"login":"kokx","id":138556,"avatar_url":"https://avatars.githubusercontent.com/u/138556?v=3","gravatar_id":"","url":"https://api.github.com/users/kokx","html_url":"https://github.com/kokx","followers_url":"https://api.github.com/users/kokx/followers","following_url":"https://api.github.com/users/kokx/following{/other_user}","gists_url":"https://api.github.com/users/kokx/gists{/gist_id}","starred_url":"https://api.github.com/users/kokx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokx/subscriptions","organizations_url":"https://api.github.com/users/kokx/orgs","repos_url":"https://api.github.com/users/kokx/repos","events_url":"https://api.github.com/users/kokx/events{/privacy}","received_events_url":"https://api.github.com/users/kokx/received_events","type":"User","site_admin":false},"repo":{"id":16512855,"name":"gewisweb","full_name":"kokx/gewisweb","owner":{"login":"kokx","id":138556,"avatar_url":"https://avatars.githubusercontent.com/u/138556?v=3","gravatar_id":"","url":"https://api.github.com/users/kokx","html_url":"https://github.com/kokx","followers_url":"https://api.github.com/users/kokx/followers","following_url":"https://api.github.com/users/kokx/following{/other_user}","gists_url":"https://api.github.com/users/kokx/gists{/gist_id}","starred_url":"https://api.github.com/users/kokx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokx/subscriptions","organizations_url":"https://api.github.com/users/kokx/orgs","repos_url":"https://api.github.com/users/kokx/repos","events_url":"https://api.github.com/users/kokx/events{/privacy}","received_events_url":"https://api.github.com/users/kokx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kokx/gewisweb","description":"GEWIS Website","fork":true,"url":"https://api.github.com/repos/kokx/gewisweb","forks_url":"https://api.github.com/repos/kokx/gewisweb/forks","keys_url":"https://api.github.com/repos/kokx/gewisweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kokx/gewisweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kokx/gewisweb/teams","hooks_url":"https://api.github.com/repos/kokx/gewisweb/hooks","issue_events_url":"https://api.github.com/repos/kokx/gewisweb/issues/events{/number}","events_url":"https://api.github.com/repos/kokx/gewisweb/events","assignees_url":"https://api.github.com/repos/kokx/gewisweb/assignees{/user}","branches_url":"https://api.github.com/repos/kokx/gewisweb/branches{/branch}","tags_url":"https://api.github.com/repos/kokx/gewisweb/tags","blobs_url":"https://api.github.com/repos/kokx/gewisweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kokx/gewisweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kokx/gewisweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/kokx/gewisweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kokx/gewisweb/statuses/{sha}","languages_url":"https://api.github.com/repos/kokx/gewisweb/languages","stargazers_url":"https://api.github.com/repos/kokx/gewisweb/stargazers","contributors_url":"https://api.github.com/repos/kokx/gewisweb/contributors","subscribers_url":"https://api.github.com/repos/kokx/gewisweb/subscribers","subscription_url":"https://api.github.com/repos/kokx/gewisweb/subscription","commits_url":"https://api.github.com/repos/kokx/gewisweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/kokx/gewisweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/kokx/gewisweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/kokx/gewisweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/kokx/gewisweb/contents/{+path}","compare_url":"https://api.github.com/repos/kokx/gewisweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kokx/gewisweb/merges","archive_url":"https://api.github.com/repos/kokx/gewisweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kokx/gewisweb/downloads","issues_url":"https://api.github.com/repos/kokx/gewisweb/issues{/number}","pulls_url":"https://api.github.com/repos/kokx/gewisweb/pulls{/number}","milestones_url":"https://api.github.com/repos/kokx/gewisweb/milestones{/number}","notifications_url":"https://api.github.com/repos/kokx/gewisweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kokx/gewisweb/labels{/name}","releases_url":"https://api.github.com/repos/kokx/gewisweb/releases{/id}","created_at":"2014-02-04T13:43:16Z","updated_at":"2014-12-10T22:47:53Z","pushed_at":"2015-12-08T23:08:26Z","git_url":"git://github.com/kokx/gewisweb.git","ssh_url":"git@github.com:kokx/gewisweb.git","clone_url":"https://github.com/kokx/gewisweb.git","svn_url":"https://github.com/kokx/gewisweb","homepage":null,"size":4261,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"base":{"label":"GEWIS:master","ref":"master","sha":"950ac1a4c507ef701326b1442a09560ffb6e7baa","user":{"login":"GEWIS","id":1815510,"avatar_url":"https://avatars.githubusercontent.com/u/1815510?v=3","gravatar_id":"","url":"https://api.github.com/users/GEWIS","html_url":"https://github.com/GEWIS","followers_url":"https://api.github.com/users/GEWIS/followers","following_url":"https://api.github.com/users/GEWIS/following{/other_user}","gists_url":"https://api.github.com/users/GEWIS/gists{/gist_id}","starred_url":"https://api.github.com/users/GEWIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEWIS/subscriptions","organizations_url":"https://api.github.com/users/GEWIS/orgs","repos_url":"https://api.github.com/users/GEWIS/repos","events_url":"https://api.github.com/users/GEWIS/events{/privacy}","received_events_url":"https://api.github.com/users/GEWIS/received_events","type":"Organization","site_admin":false},"repo":{"id":16512277,"name":"gewisweb","full_name":"GEWIS/gewisweb","owner":{"login":"GEWIS","id":1815510,"avatar_url":"https://avatars.githubusercontent.com/u/1815510?v=3","gravatar_id":"","url":"https://api.github.com/users/GEWIS","html_url":"https://github.com/GEWIS","followers_url":"https://api.github.com/users/GEWIS/followers","following_url":"https://api.github.com/users/GEWIS/following{/other_user}","gists_url":"https://api.github.com/users/GEWIS/gists{/gist_id}","starred_url":"https://api.github.com/users/GEWIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEWIS/subscriptions","organizations_url":"https://api.github.com/users/GEWIS/orgs","repos_url":"https://api.github.com/users/GEWIS/repos","events_url":"https://api.github.com/users/GEWIS/events{/privacy}","received_events_url":"https://api.github.com/users/GEWIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GEWIS/gewisweb","description":"GEWIS Website","fork":false,"url":"https://api.github.com/repos/GEWIS/gewisweb","forks_url":"https://api.github.com/repos/GEWIS/gewisweb/forks","keys_url":"https://api.github.com/repos/GEWIS/gewisweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GEWIS/gewisweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GEWIS/gewisweb/teams","hooks_url":"https://api.github.com/repos/GEWIS/gewisweb/hooks","issue_events_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/events{/number}","events_url":"https://api.github.com/repos/GEWIS/gewisweb/events","assignees_url":"https://api.github.com/repos/GEWIS/gewisweb/assignees{/user}","branches_url":"https://api.github.com/repos/GEWIS/gewisweb/branches{/branch}","tags_url":"https://api.github.com/repos/GEWIS/gewisweb/tags","blobs_url":"https://api.github.com/repos/GEWIS/gewisweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GEWIS/gewisweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GEWIS/gewisweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/GEWIS/gewisweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GEWIS/gewisweb/statuses/{sha}","languages_url":"https://api.github.com/repos/GEWIS/gewisweb/languages","stargazers_url":"https://api.github.com/repos/GEWIS/gewisweb/stargazers","contributors_url":"https://api.github.com/repos/GEWIS/gewisweb/contributors","subscribers_url":"https://api.github.com/repos/GEWIS/gewisweb/subscribers","subscription_url":"https://api.github.com/repos/GEWIS/gewisweb/subscription","commits_url":"https://api.github.com/repos/GEWIS/gewisweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/GEWIS/gewisweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/GEWIS/gewisweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/GEWIS/gewisweb/contents/{+path}","compare_url":"https://api.github.com/repos/GEWIS/gewisweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GEWIS/gewisweb/merges","archive_url":"https://api.github.com/repos/GEWIS/gewisweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GEWIS/gewisweb/downloads","issues_url":"https://api.github.com/repos/GEWIS/gewisweb/issues{/number}","pulls_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls{/number}","milestones_url":"https://api.github.com/repos/GEWIS/gewisweb/milestones{/number}","notifications_url":"https://api.github.com/repos/GEWIS/gewisweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GEWIS/gewisweb/labels{/name}","releases_url":"https://api.github.com/repos/GEWIS/gewisweb/releases{/id}","created_at":"2014-02-04T13:22:05Z","updated_at":"2015-05-06T10:10:51Z","pushed_at":"2015-12-08T22:49:20Z","git_url":"git://github.com/GEWIS/gewisweb.git","ssh_url":"git@github.com:GEWIS/gewisweb.git","clone_url":"https://github.com/GEWIS/gewisweb.git","svn_url":"https://github.com/GEWIS/gewisweb","homepage":null,"size":4538,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":68,"forks":12,"open_issues":68,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292"},"html":{"href":"https://github.com/GEWIS/gewisweb/pull/292"},"issue":{"href":"https://api.github.com/repos/GEWIS/gewisweb/issues/292"},"comments":{"href":"https://api.github.com/repos/GEWIS/gewisweb/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/GEWIS/gewisweb/statuses/3b9fed84e0ff17f059d1499b6d99aa256fd087ba"}}}}