{"action":"created","comment":{"url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/comments/45746581","id":45746581,"diff_hunk":"@@ -2192,4 +2210,95 @@ public function seeBiproSuperior() {\n \t\t\n \t\treturn $this->hasRoleIn($roles);\n \t}\n+\n+\tpublic function wbdCheckForNew() {\n+\t\treturn $this->hasDoneWBDRegistration() && $this->hasWBDRelevantRole() && $this->userExists() && $this->isActive() && !$this->hasSpecialUserId()\n+\t\t\t\t&& $this->entryDatePassed() && $this->isWBDBWVIdEmpty() && !$this->hasWBDType(self::WBD_TP_SERVICE);\n+\t}\n+\n+\tpublic function wbdCheckForAffiliate() {\n+\t\t$wbd_errors = array(WBD_ERROR_WRONG_USERDATA\n+\t\t\t\t\t\t\t, WBD_ERROR_USER_SERVICETYPE\n+\t\t\t\t\t\t\t, WBD_ERROR_USER_DIFFERENT_TP\n+\t\t\t\t\t\t\t, WBD_ERROR_USER_UNKNOWN\n+\t\t\t\t\t\t\t, WBD_ERROR_USER_DEACTIVATED);\n+\n+\t\treturn $this->hasDoneWBDRegistration() && $this->hasWBDRelevantRole() && $this->userExists() && $this->isActive() && !$this->hasSpecialUserId()\n+\t\t\t\t&& $this->entryDatePassed() && !$this->isWBDBWVIdEmpty() && !$this->hasWBDType(self::WBD_TP_SERVICE) \n+\t\t\t\t&& !$this->hasOpenWBDErrors($wbd_errors);\n+\t}\n+\n+\tpublic function wbdCheckForRelease() {","path":"Services/GEV/Utils/classes/class.gevUserUtils.php","position":63,"original_position":63,"commit_id":"3314c156f1b0f8fbcd9842d80fe91269f74c2620","original_commit_id":"3314c156f1b0f8fbcd9842d80fe91269f74c2620","user":{"login":"klees","id":10611082,"avatar_url":"https://avatars.githubusercontent.com/u/10611082?v=3","gravatar_id":"","url":"https://api.github.com/users/klees","html_url":"https://github.com/klees","followers_url":"https://api.github.com/users/klees/followers","following_url":"https://api.github.com/users/klees/following{/other_user}","gists_url":"https://api.github.com/users/klees/gists{/gist_id}","starred_url":"https://api.github.com/users/klees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klees/subscriptions","organizations_url":"https://api.github.com/users/klees/orgs","repos_url":"https://api.github.com/users/klees/repos","events_url":"https://api.github.com/users/klees/events{/privacy}","received_events_url":"https://api.github.com/users/klees/received_events","type":"User","site_admin":false},"body":"Benennung?","created_at":"2015-11-24T15:08:28Z","updated_at":"2015-11-24T15:08:28Z","html_url":"https://github.com/conceptsandtraining/ILIAS/pull/72#discussion_r45746581","pull_request_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/comments/45746581"},"html":{"href":"https://github.com/conceptsandtraining/ILIAS/pull/72#discussion_r45746581"},"pull_request":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72","id":51205923,"html_url":"https://github.com/conceptsandtraining/ILIAS/pull/72","diff_url":"https://github.com/conceptsandtraining/ILIAS/pull/72.diff","patch_url":"https://github.com/conceptsandtraining/ILIAS/pull/72.patch","issue_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues/72","number":72,"state":"open","locked":false,"title":"user affiliate #1868","user":{"login":"shecken","id":12557020,"avatar_url":"https://avatars.githubusercontent.com/u/12557020?v=3","gravatar_id":"","url":"https://api.github.com/users/shecken","html_url":"https://github.com/shecken","followers_url":"https://api.github.com/users/shecken/followers","following_url":"https://api.github.com/users/shecken/following{/other_user}","gists_url":"https://api.github.com/users/shecken/gists{/gist_id}","starred_url":"https://api.github.com/users/shecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shecken/subscriptions","organizations_url":"https://api.github.com/users/shecken/orgs","repos_url":"https://api.github.com/users/shecken/repos","events_url":"https://api.github.com/users/shecken/events{/privacy}","received_events_url":"https://api.github.com/users/shecken/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-19T10:43:02Z","updated_at":"2015-11-24T15:08:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8262ec65f0ec2081bec0a376382135adb899f9aa","assignee":{"login":"klees","id":10611082,"avatar_url":"https://avatars.githubusercontent.com/u/10611082?v=3","gravatar_id":"","url":"https://api.github.com/users/klees","html_url":"https://github.com/klees","followers_url":"https://api.github.com/users/klees/followers","following_url":"https://api.github.com/users/klees/following{/other_user}","gists_url":"https://api.github.com/users/klees/gists{/gist_id}","starred_url":"https://api.github.com/users/klees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klees/subscriptions","organizations_url":"https://api.github.com/users/klees/orgs","repos_url":"https://api.github.com/users/klees/repos","events_url":"https://api.github.com/users/klees/events{/privacy}","received_events_url":"https://api.github.com/users/klees/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72/commits","review_comments_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72/comments","review_comment_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues/72/comments","statuses_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/statuses/3314c156f1b0f8fbcd9842d80fe91269f74c2620","head":{"label":"shecken:4_4_generali_tp_affiliate","ref":"4_4_generali_tp_affiliate","sha":"3314c156f1b0f8fbcd9842d80fe91269f74c2620","user":{"login":"shecken","id":12557020,"avatar_url":"https://avatars.githubusercontent.com/u/12557020?v=3","gravatar_id":"","url":"https://api.github.com/users/shecken","html_url":"https://github.com/shecken","followers_url":"https://api.github.com/users/shecken/followers","following_url":"https://api.github.com/users/shecken/following{/other_user}","gists_url":"https://api.github.com/users/shecken/gists{/gist_id}","starred_url":"https://api.github.com/users/shecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shecken/subscriptions","organizations_url":"https://api.github.com/users/shecken/orgs","repos_url":"https://api.github.com/users/shecken/repos","events_url":"https://api.github.com/users/shecken/events{/privacy}","received_events_url":"https://api.github.com/users/shecken/received_events","type":"User","site_admin":false},"repo":{"id":44175140,"name":"ILIAS","full_name":"shecken/ILIAS","owner":{"login":"shecken","id":12557020,"avatar_url":"https://avatars.githubusercontent.com/u/12557020?v=3","gravatar_id":"","url":"https://api.github.com/users/shecken","html_url":"https://github.com/shecken","followers_url":"https://api.github.com/users/shecken/followers","following_url":"https://api.github.com/users/shecken/following{/other_user}","gists_url":"https://api.github.com/users/shecken/gists{/gist_id}","starred_url":"https://api.github.com/users/shecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shecken/subscriptions","organizations_url":"https://api.github.com/users/shecken/orgs","repos_url":"https://api.github.com/users/shecken/repos","events_url":"https://api.github.com/users/shecken/events{/privacy}","received_events_url":"https://api.github.com/users/shecken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shecken/ILIAS","description":"","fork":true,"url":"https://api.github.com/repos/shecken/ILIAS","forks_url":"https://api.github.com/repos/shecken/ILIAS/forks","keys_url":"https://api.github.com/repos/shecken/ILIAS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shecken/ILIAS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shecken/ILIAS/teams","hooks_url":"https://api.github.com/repos/shecken/ILIAS/hooks","issue_events_url":"https://api.github.com/repos/shecken/ILIAS/issues/events{/number}","events_url":"https://api.github.com/repos/shecken/ILIAS/events","assignees_url":"https://api.github.com/repos/shecken/ILIAS/assignees{/user}","branches_url":"https://api.github.com/repos/shecken/ILIAS/branches{/branch}","tags_url":"https://api.github.com/repos/shecken/ILIAS/tags","blobs_url":"https://api.github.com/repos/shecken/ILIAS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shecken/ILIAS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shecken/ILIAS/git/refs{/sha}","trees_url":"https://api.github.com/repos/shecken/ILIAS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shecken/ILIAS/statuses/{sha}","languages_url":"https://api.github.com/repos/shecken/ILIAS/languages","stargazers_url":"https://api.github.com/repos/shecken/ILIAS/stargazers","contributors_url":"https://api.github.com/repos/shecken/ILIAS/contributors","subscribers_url":"https://api.github.com/repos/shecken/ILIAS/subscribers","subscription_url":"https://api.github.com/repos/shecken/ILIAS/subscription","commits_url":"https://api.github.com/repos/shecken/ILIAS/commits{/sha}","git_commits_url":"https://api.github.com/repos/shecken/ILIAS/git/commits{/sha}","comments_url":"https://api.github.com/repos/shecken/ILIAS/comments{/number}","issue_comment_url":"https://api.github.com/repos/shecken/ILIAS/issues/comments{/number}","contents_url":"https://api.github.com/repos/shecken/ILIAS/contents/{+path}","compare_url":"https://api.github.com/repos/shecken/ILIAS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shecken/ILIAS/merges","archive_url":"https://api.github.com/repos/shecken/ILIAS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shecken/ILIAS/downloads","issues_url":"https://api.github.com/repos/shecken/ILIAS/issues{/number}","pulls_url":"https://api.github.com/repos/shecken/ILIAS/pulls{/number}","milestones_url":"https://api.github.com/repos/shecken/ILIAS/milestones{/number}","notifications_url":"https://api.github.com/repos/shecken/ILIAS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shecken/ILIAS/labels{/name}","releases_url":"https://api.github.com/repos/shecken/ILIAS/releases{/id}","created_at":"2015-10-13T12:36:44Z","updated_at":"2015-10-13T12:38:07Z","pushed_at":"2015-11-24T12:38:18Z","git_url":"git://github.com/shecken/ILIAS.git","ssh_url":"git@github.com:shecken/ILIAS.git","clone_url":"https://github.com/shecken/ILIAS.git","svn_url":"https://github.com/shecken/ILIAS","homepage":"","size":469231,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"release_5-0"}},"base":{"label":"conceptsandtraining:4_4_generali","ref":"4_4_generali","sha":"4977ff7457a4a832d8bdcba959eed4cbf69a73b5","user":{"login":"conceptsandtraining","id":7535875,"avatar_url":"https://avatars.githubusercontent.com/u/7535875?v=3","gravatar_id":"","url":"https://api.github.com/users/conceptsandtraining","html_url":"https://github.com/conceptsandtraining","followers_url":"https://api.github.com/users/conceptsandtraining/followers","following_url":"https://api.github.com/users/conceptsandtraining/following{/other_user}","gists_url":"https://api.github.com/users/conceptsandtraining/gists{/gist_id}","starred_url":"https://api.github.com/users/conceptsandtraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conceptsandtraining/subscriptions","organizations_url":"https://api.github.com/users/conceptsandtraining/orgs","repos_url":"https://api.github.com/users/conceptsandtraining/repos","events_url":"https://api.github.com/users/conceptsandtraining/events{/privacy}","received_events_url":"https://api.github.com/users/conceptsandtraining/received_events","type":"Organization","site_admin":false},"repo":{"id":39509518,"name":"ILIAS","full_name":"conceptsandtraining/ILIAS","owner":{"login":"conceptsandtraining","id":7535875,"avatar_url":"https://avatars.githubusercontent.com/u/7535875?v=3","gravatar_id":"","url":"https://api.github.com/users/conceptsandtraining","html_url":"https://github.com/conceptsandtraining","followers_url":"https://api.github.com/users/conceptsandtraining/followers","following_url":"https://api.github.com/users/conceptsandtraining/following{/other_user}","gists_url":"https://api.github.com/users/conceptsandtraining/gists{/gist_id}","starred_url":"https://api.github.com/users/conceptsandtraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conceptsandtraining/subscriptions","organizations_url":"https://api.github.com/users/conceptsandtraining/orgs","repos_url":"https://api.github.com/users/conceptsandtraining/repos","events_url":"https://api.github.com/users/conceptsandtraining/events{/privacy}","received_events_url":"https://api.github.com/users/conceptsandtraining/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conceptsandtraining/ILIAS","description":"ILIAS - Open Source e-Learning","fork":true,"url":"https://api.github.com/repos/conceptsandtraining/ILIAS","forks_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/forks","keys_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/teams","hooks_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/hooks","issue_events_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues/events{/number}","events_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/events","assignees_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/assignees{/user}","branches_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/branches{/branch}","tags_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/tags","blobs_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/git/refs{/sha}","trees_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/statuses/{sha}","languages_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/languages","stargazers_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/stargazers","contributors_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/contributors","subscribers_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/subscribers","subscription_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/subscription","commits_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/commits{/sha}","git_commits_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/git/commits{/sha}","comments_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/comments{/number}","issue_comment_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues/comments{/number}","contents_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/contents/{+path}","compare_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/merges","archive_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/downloads","issues_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues{/number}","pulls_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls{/number}","milestones_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/milestones{/number}","notifications_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/labels{/name}","releases_url":"https://api.github.com/repos/conceptsandtraining/ILIAS/releases{/id}","created_at":"2015-07-22T14:04:03Z","updated_at":"2015-07-22T14:04:51Z","pushed_at":"2015-11-24T10:44:08Z","git_url":"git://github.com/conceptsandtraining/ILIAS.git","ssh_url":"git@github.com:conceptsandtraining/ILIAS.git","clone_url":"https://github.com/conceptsandtraining/ILIAS.git","svn_url":"https://github.com/conceptsandtraining/ILIAS","homepage":"http://www.ilias.de","size":458912,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"release_5-0"}},"_links":{"self":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72"},"html":{"href":"https://github.com/conceptsandtraining/ILIAS/pull/72"},"issue":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues/72"},"comments":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/conceptsandtraining/ILIAS/statuses/3314c156f1b0f8fbcd9842d80fe91269f74c2620"}}}}