{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/43","id":69833597,"html_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/pull/43","diff_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/pull/43.diff","patch_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/pull/43.patch","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/43","number":43,"state":"open","locked":false,"title":"Recursive search for parent groups","user":{"login":"hairyhum","id":784180,"avatar_url":"https://avatars.githubusercontent.com/u/784180?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhum","html_url":"https://github.com/hairyhum","followers_url":"https://api.github.com/users/hairyhum/followers","following_url":"https://api.github.com/users/hairyhum/following{/other_user}","gists_url":"https://api.github.com/users/hairyhum/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhum/subscriptions","organizations_url":"https://api.github.com/users/hairyhum/orgs","repos_url":"https://api.github.com/users/hairyhum/repos","events_url":"https://api.github.com/users/hairyhum/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhum/received_events","type":"User","site_admin":false},"body":"Introduced new search query `{in_group_nested, TargetDN}` to recursively search for nested groups.\r\nIntroduced new environment variable `group_lookup_base` - the base DN for groups. If it's not set, `dn_lookup_base` will be used.\r\n\r\nQuery will search for all DNs in base directory, that have an attribute `member` (by default) or attribute specified in query. If this DNs don't contain target, they are recursively searched up until no target is found, or there are no parent groups, or cycle is detected.\r\n\r\nRestrictions:\r\n- Without base directory query will fail.\r\n- Can be memory consuming if user is in many groups\r\n- Can be time consuming if there is deep group hierarchy\r\n\r\nPreferred group structure is tree-based, where groups have many members, but members have few groups.","created_at":"2016-05-12T13:12:21Z","updated_at":"2016-05-12T13:12:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/43/commits","review_comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/43/comments","review_comment_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/43/comments","statuses_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/statuses/f4de49adae8673a57a5cb65eb20334200df8c24f","head":{"label":"rabbitmq:rabbitmq-auth-backend-ldap-3","ref":"rabbitmq-auth-backend-ldap-3","sha":"f4de49adae8673a57a5cb65eb20334200df8c24f","user":{"login":"rabbitmq","id":96669,"avatar_url":"https://avatars.githubusercontent.com/u/96669?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbitmq","html_url":"https://github.com/rabbitmq","followers_url":"https://api.github.com/users/rabbitmq/followers","following_url":"https://api.github.com/users/rabbitmq/following{/other_user}","gists_url":"https://api.github.com/users/rabbitmq/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitmq/subscriptions","organizations_url":"https://api.github.com/users/rabbitmq/orgs","repos_url":"https://api.github.com/users/rabbitmq/repos","events_url":"https://api.github.com/users/rabbitmq/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitmq/received_events","type":"Organization","site_admin":false},"repo":{"id":1096410,"name":"rabbitmq-auth-backend-ldap","full_name":"rabbitmq/rabbitmq-auth-backend-ldap","owner":{"login":"rabbitmq","id":96669,"avatar_url":"https://avatars.githubusercontent.com/u/96669?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbitmq","html_url":"https://github.com/rabbitmq","followers_url":"https://api.github.com/users/rabbitmq/followers","following_url":"https://api.github.com/users/rabbitmq/following{/other_user}","gists_url":"https://api.github.com/users/rabbitmq/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitmq/subscriptions","organizations_url":"https://api.github.com/users/rabbitmq/orgs","repos_url":"https://api.github.com/users/rabbitmq/repos","events_url":"https://api.github.com/users/rabbitmq/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitmq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap","description":"RabbitMQ LDAP authentication","fork":false,"url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap","forks_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/forks","keys_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/teams","hooks_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/hooks","issue_events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/events","assignees_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/tags","blobs_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/languages","stargazers_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/stargazers","contributors_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/contributors","subscribers_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/subscribers","subscription_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/subscription","commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/merges","archive_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/downloads","issues_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/labels{/name}","releases_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/deployments","created_at":"2010-11-20T01:13:51Z","updated_at":"2016-05-04T08:50:58Z","pushed_at":"2016-05-12T12:54:07Z","git_url":"git://github.com/rabbitmq/rabbitmq-auth-backend-ldap.git","ssh_url":"git@github.com:rabbitmq/rabbitmq-auth-backend-ldap.git","clone_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap.git","svn_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap","homepage":"https://www.rabbitmq.com/","size":2315,"stargazers_count":14,"watchers_count":14,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":14,"default_branch":"master"}},"base":{"label":"rabbitmq:stable","ref":"stable","sha":"c39404175363db852865978cbea4dd4eaf6009be","user":{"login":"rabbitmq","id":96669,"avatar_url":"https://avatars.githubusercontent.com/u/96669?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbitmq","html_url":"https://github.com/rabbitmq","followers_url":"https://api.github.com/users/rabbitmq/followers","following_url":"https://api.github.com/users/rabbitmq/following{/other_user}","gists_url":"https://api.github.com/users/rabbitmq/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitmq/subscriptions","organizations_url":"https://api.github.com/users/rabbitmq/orgs","repos_url":"https://api.github.com/users/rabbitmq/repos","events_url":"https://api.github.com/users/rabbitmq/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitmq/received_events","type":"Organization","site_admin":false},"repo":{"id":1096410,"name":"rabbitmq-auth-backend-ldap","full_name":"rabbitmq/rabbitmq-auth-backend-ldap","owner":{"login":"rabbitmq","id":96669,"avatar_url":"https://avatars.githubusercontent.com/u/96669?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbitmq","html_url":"https://github.com/rabbitmq","followers_url":"https://api.github.com/users/rabbitmq/followers","following_url":"https://api.github.com/users/rabbitmq/following{/other_user}","gists_url":"https://api.github.com/users/rabbitmq/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitmq/subscriptions","organizations_url":"https://api.github.com/users/rabbitmq/orgs","repos_url":"https://api.github.com/users/rabbitmq/repos","events_url":"https://api.github.com/users/rabbitmq/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitmq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap","description":"RabbitMQ LDAP authentication","fork":false,"url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap","forks_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/forks","keys_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/teams","hooks_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/hooks","issue_events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/events","assignees_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/tags","blobs_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/languages","stargazers_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/stargazers","contributors_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/contributors","subscribers_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/subscribers","subscription_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/subscription","commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/merges","archive_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/downloads","issues_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/labels{/name}","releases_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/deployments","created_at":"2010-11-20T01:13:51Z","updated_at":"2016-05-04T08:50:58Z","pushed_at":"2016-05-12T12:54:07Z","git_url":"git://github.com/rabbitmq/rabbitmq-auth-backend-ldap.git","ssh_url":"git@github.com:rabbitmq/rabbitmq-auth-backend-ldap.git","clone_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap.git","svn_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap","homepage":"https://www.rabbitmq.com/","size":2315,"stargazers_count":14,"watchers_count":14,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/43"},"html":{"href":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/pull/43"},"issue":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/43"},"comments":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/statuses/f4de49adae8673a57a5cb65eb20334200df8c24f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":73,"deletions":3,"changed_files":5}}