{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/heiglandreas/authLdap/pulls/37","id":31256555,"html_url":"https://github.com/heiglandreas/authLdap/pull/37","diff_url":"https://github.com/heiglandreas/authLdap/pull/37.diff","patch_url":"https://github.com/heiglandreas/authLdap/pull/37.patch","issue_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/37","number":37,"state":"open","locked":false,"title":"retain exsiting user role, option for group override","user":{"login":"EmTeedee","id":195600,"avatar_url":"https://avatars.githubusercontent.com/u/195600?v=3","gravatar_id":"","url":"https://api.github.com/users/EmTeedee","html_url":"https://github.com/EmTeedee","followers_url":"https://api.github.com/users/EmTeedee/followers","following_url":"https://api.github.com/users/EmTeedee/following{/other_user}","gists_url":"https://api.github.com/users/EmTeedee/gists{/gist_id}","starred_url":"https://api.github.com/users/EmTeedee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmTeedee/subscriptions","organizations_url":"https://api.github.com/users/EmTeedee/orgs","repos_url":"https://api.github.com/users/EmTeedee/repos","events_url":"https://api.github.com/users/EmTeedee/events{/privacy}","received_events_url":"https://api.github.com/users/EmTeedee/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nthis fixes the issue with existing users' roles mentioned in #34\r\nI also added an option to override existing roles with LDAP Groups (which is enabled by default as it's been the behaviour so far).","created_at":"2015-03-16T15:57:26Z","updated_at":"2015-03-16T15:57:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16c5c07e5df5562a54f8954dc26b261d8c6b3d74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/heiglandreas/authLdap/pulls/37/commits","review_comments_url":"https://api.github.com/repos/heiglandreas/authLdap/pulls/37/comments","review_comment_url":"https://api.github.com/repos/heiglandreas/authLdap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/37/comments","statuses_url":"https://api.github.com/repos/heiglandreas/authLdap/statuses/ec810bfe19eec66b0556c919a32663ec32b15247","head":{"label":"EmTeedee:user-role-over-default-role","ref":"user-role-over-default-role","sha":"ec810bfe19eec66b0556c919a32663ec32b15247","user":{"login":"EmTeedee","id":195600,"avatar_url":"https://avatars.githubusercontent.com/u/195600?v=3","gravatar_id":"","url":"https://api.github.com/users/EmTeedee","html_url":"https://github.com/EmTeedee","followers_url":"https://api.github.com/users/EmTeedee/followers","following_url":"https://api.github.com/users/EmTeedee/following{/other_user}","gists_url":"https://api.github.com/users/EmTeedee/gists{/gist_id}","starred_url":"https://api.github.com/users/EmTeedee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmTeedee/subscriptions","organizations_url":"https://api.github.com/users/EmTeedee/orgs","repos_url":"https://api.github.com/users/EmTeedee/repos","events_url":"https://api.github.com/users/EmTeedee/events{/privacy}","received_events_url":"https://api.github.com/users/EmTeedee/received_events","type":"User","site_admin":false},"repo":{"id":31061965,"name":"authLdap","full_name":"EmTeedee/authLdap","owner":{"login":"EmTeedee","id":195600,"avatar_url":"https://avatars.githubusercontent.com/u/195600?v=3","gravatar_id":"","url":"https://api.github.com/users/EmTeedee","html_url":"https://github.com/EmTeedee","followers_url":"https://api.github.com/users/EmTeedee/followers","following_url":"https://api.github.com/users/EmTeedee/following{/other_user}","gists_url":"https://api.github.com/users/EmTeedee/gists{/gist_id}","starred_url":"https://api.github.com/users/EmTeedee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmTeedee/subscriptions","organizations_url":"https://api.github.com/users/EmTeedee/orgs","repos_url":"https://api.github.com/users/EmTeedee/repos","events_url":"https://api.github.com/users/EmTeedee/events{/privacy}","received_events_url":"https://api.github.com/users/EmTeedee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EmTeedee/authLdap","description":"LDAP-Authentication for WordPress","fork":true,"url":"https://api.github.com/repos/EmTeedee/authLdap","forks_url":"https://api.github.com/repos/EmTeedee/authLdap/forks","keys_url":"https://api.github.com/repos/EmTeedee/authLdap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EmTeedee/authLdap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EmTeedee/authLdap/teams","hooks_url":"https://api.github.com/repos/EmTeedee/authLdap/hooks","issue_events_url":"https://api.github.com/repos/EmTeedee/authLdap/issues/events{/number}","events_url":"https://api.github.com/repos/EmTeedee/authLdap/events","assignees_url":"https://api.github.com/repos/EmTeedee/authLdap/assignees{/user}","branches_url":"https://api.github.com/repos/EmTeedee/authLdap/branches{/branch}","tags_url":"https://api.github.com/repos/EmTeedee/authLdap/tags","blobs_url":"https://api.github.com/repos/EmTeedee/authLdap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EmTeedee/authLdap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EmTeedee/authLdap/git/refs{/sha}","trees_url":"https://api.github.com/repos/EmTeedee/authLdap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EmTeedee/authLdap/statuses/{sha}","languages_url":"https://api.github.com/repos/EmTeedee/authLdap/languages","stargazers_url":"https://api.github.com/repos/EmTeedee/authLdap/stargazers","contributors_url":"https://api.github.com/repos/EmTeedee/authLdap/contributors","subscribers_url":"https://api.github.com/repos/EmTeedee/authLdap/subscribers","subscription_url":"https://api.github.com/repos/EmTeedee/authLdap/subscription","commits_url":"https://api.github.com/repos/EmTeedee/authLdap/commits{/sha}","git_commits_url":"https://api.github.com/repos/EmTeedee/authLdap/git/commits{/sha}","comments_url":"https://api.github.com/repos/EmTeedee/authLdap/comments{/number}","issue_comment_url":"https://api.github.com/repos/EmTeedee/authLdap/issues/comments{/number}","contents_url":"https://api.github.com/repos/EmTeedee/authLdap/contents/{+path}","compare_url":"https://api.github.com/repos/EmTeedee/authLdap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EmTeedee/authLdap/merges","archive_url":"https://api.github.com/repos/EmTeedee/authLdap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EmTeedee/authLdap/downloads","issues_url":"https://api.github.com/repos/EmTeedee/authLdap/issues{/number}","pulls_url":"https://api.github.com/repos/EmTeedee/authLdap/pulls{/number}","milestones_url":"https://api.github.com/repos/EmTeedee/authLdap/milestones{/number}","notifications_url":"https://api.github.com/repos/EmTeedee/authLdap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EmTeedee/authLdap/labels{/name}","releases_url":"https://api.github.com/repos/EmTeedee/authLdap/releases{/id}","created_at":"2015-02-20T11:24:53Z","updated_at":"2015-03-16T15:49:23Z","pushed_at":"2015-03-16T15:57:21Z","git_url":"git://github.com/EmTeedee/authLdap.git","ssh_url":"git@github.com:EmTeedee/authLdap.git","clone_url":"https://github.com/EmTeedee/authLdap.git","svn_url":"https://github.com/EmTeedee/authLdap","homepage":"http://andreas.heigl.org/cat/dev/wp/authldap/","size":297,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"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":"heiglandreas:master","ref":"master","sha":"5514d87973f3021573d4cf5eabea76de5209530f","user":{"login":"heiglandreas","id":91998,"avatar_url":"https://avatars.githubusercontent.com/u/91998?v=3","gravatar_id":"","url":"https://api.github.com/users/heiglandreas","html_url":"https://github.com/heiglandreas","followers_url":"https://api.github.com/users/heiglandreas/followers","following_url":"https://api.github.com/users/heiglandreas/following{/other_user}","gists_url":"https://api.github.com/users/heiglandreas/gists{/gist_id}","starred_url":"https://api.github.com/users/heiglandreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiglandreas/subscriptions","organizations_url":"https://api.github.com/users/heiglandreas/orgs","repos_url":"https://api.github.com/users/heiglandreas/repos","events_url":"https://api.github.com/users/heiglandreas/events{/privacy}","received_events_url":"https://api.github.com/users/heiglandreas/received_events","type":"User","site_admin":false},"repo":{"id":854518,"name":"authLdap","full_name":"heiglandreas/authLdap","owner":{"login":"heiglandreas","id":91998,"avatar_url":"https://avatars.githubusercontent.com/u/91998?v=3","gravatar_id":"","url":"https://api.github.com/users/heiglandreas","html_url":"https://github.com/heiglandreas","followers_url":"https://api.github.com/users/heiglandreas/followers","following_url":"https://api.github.com/users/heiglandreas/following{/other_user}","gists_url":"https://api.github.com/users/heiglandreas/gists{/gist_id}","starred_url":"https://api.github.com/users/heiglandreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiglandreas/subscriptions","organizations_url":"https://api.github.com/users/heiglandreas/orgs","repos_url":"https://api.github.com/users/heiglandreas/repos","events_url":"https://api.github.com/users/heiglandreas/events{/privacy}","received_events_url":"https://api.github.com/users/heiglandreas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heiglandreas/authLdap","description":"LDAP-Authentication for WordPress","fork":false,"url":"https://api.github.com/repos/heiglandreas/authLdap","forks_url":"https://api.github.com/repos/heiglandreas/authLdap/forks","keys_url":"https://api.github.com/repos/heiglandreas/authLdap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heiglandreas/authLdap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heiglandreas/authLdap/teams","hooks_url":"https://api.github.com/repos/heiglandreas/authLdap/hooks","issue_events_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/events{/number}","events_url":"https://api.github.com/repos/heiglandreas/authLdap/events","assignees_url":"https://api.github.com/repos/heiglandreas/authLdap/assignees{/user}","branches_url":"https://api.github.com/repos/heiglandreas/authLdap/branches{/branch}","tags_url":"https://api.github.com/repos/heiglandreas/authLdap/tags","blobs_url":"https://api.github.com/repos/heiglandreas/authLdap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heiglandreas/authLdap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heiglandreas/authLdap/git/refs{/sha}","trees_url":"https://api.github.com/repos/heiglandreas/authLdap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heiglandreas/authLdap/statuses/{sha}","languages_url":"https://api.github.com/repos/heiglandreas/authLdap/languages","stargazers_url":"https://api.github.com/repos/heiglandreas/authLdap/stargazers","contributors_url":"https://api.github.com/repos/heiglandreas/authLdap/contributors","subscribers_url":"https://api.github.com/repos/heiglandreas/authLdap/subscribers","subscription_url":"https://api.github.com/repos/heiglandreas/authLdap/subscription","commits_url":"https://api.github.com/repos/heiglandreas/authLdap/commits{/sha}","git_commits_url":"https://api.github.com/repos/heiglandreas/authLdap/git/commits{/sha}","comments_url":"https://api.github.com/repos/heiglandreas/authLdap/comments{/number}","issue_comment_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/comments{/number}","contents_url":"https://api.github.com/repos/heiglandreas/authLdap/contents/{+path}","compare_url":"https://api.github.com/repos/heiglandreas/authLdap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heiglandreas/authLdap/merges","archive_url":"https://api.github.com/repos/heiglandreas/authLdap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heiglandreas/authLdap/downloads","issues_url":"https://api.github.com/repos/heiglandreas/authLdap/issues{/number}","pulls_url":"https://api.github.com/repos/heiglandreas/authLdap/pulls{/number}","milestones_url":"https://api.github.com/repos/heiglandreas/authLdap/milestones{/number}","notifications_url":"https://api.github.com/repos/heiglandreas/authLdap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heiglandreas/authLdap/labels{/name}","releases_url":"https://api.github.com/repos/heiglandreas/authLdap/releases{/id}","created_at":"2010-08-22T09:49:36Z","updated_at":"2015-03-12T19:25:38Z","pushed_at":"2015-03-12T19:40:45Z","git_url":"git://github.com/heiglandreas/authLdap.git","ssh_url":"git@github.com:heiglandreas/authLdap.git","clone_url":"https://github.com/heiglandreas/authLdap.git","svn_url":"https://github.com/heiglandreas/authLdap","homepage":"http://andreas.heigl.org/cat/dev/wp/authldap/","size":496,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heiglandreas/authLdap/pulls/37"},"html":{"href":"https://github.com/heiglandreas/authLdap/pull/37"},"issue":{"href":"https://api.github.com/repos/heiglandreas/authLdap/issues/37"},"comments":{"href":"https://api.github.com/repos/heiglandreas/authLdap/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/heiglandreas/authLdap/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/heiglandreas/authLdap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heiglandreas/authLdap/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/heiglandreas/authLdap/statuses/ec810bfe19eec66b0556c919a32663ec32b15247"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":128,"deletions":45,"changed_files":2}}