{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/zf-fr/rbac/pulls/22","id":49806064,"html_url":"https://github.com/zf-fr/rbac/pull/22","diff_url":"https://github.com/zf-fr/rbac/pull/22.diff","patch_url":"https://github.com/zf-fr/rbac/pull/22.patch","issue_url":"https://api.github.com/repos/zf-fr/rbac/issues/22","number":22,"state":"closed","locked":false,"title":"Remove traversal strategy","user":{"login":"bakura10","id":1198915,"avatar_url":"https://avatars.githubusercontent.com/u/1198915?v=3","gravatar_id":"","url":"https://api.github.com/users/bakura10","html_url":"https://github.com/bakura10","followers_url":"https://api.github.com/users/bakura10/followers","following_url":"https://api.github.com/users/bakura10/following{/other_user}","gists_url":"https://api.github.com/users/bakura10/gists{/gist_id}","starred_url":"https://api.github.com/users/bakura10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakura10/subscriptions","organizations_url":"https://api.github.com/users/bakura10/orgs","repos_url":"https://api.github.com/users/bakura10/repos","events_url":"https://api.github.com/users/bakura10/events{/privacy}","received_events_url":"https://api.github.com/users/bakura10/received_events","type":"User","site_admin":false},"body":"ping @danizord \r\n\r\nThe user can still customize the strategy if he wants by providing a subclass for Rbac and overrinding getRolesIterator. But for most people, it simplifies the code.\r\n\r\n(tests not updated yet)","created_at":"2015-11-05T10:30:54Z","updated_at":"2015-11-08T15:37:48Z","closed_at":"2015-11-08T15:37:48Z","merged_at":"2015-11-08T15:37:48Z","merge_commit_sha":"351e97f77ab93dfd48a74be8f8f667bef46bf411","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zf-fr/rbac/pulls/22/commits","review_comments_url":"https://api.github.com/repos/zf-fr/rbac/pulls/22/comments","review_comment_url":"https://api.github.com/repos/zf-fr/rbac/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zf-fr/rbac/issues/22/comments","statuses_url":"https://api.github.com/repos/zf-fr/rbac/statuses/c61193bb7e1931e1bac96776fe565d6897f0b84a","head":{"label":"zf-fr:simplfy","ref":"simplfy","sha":"c61193bb7e1931e1bac96776fe565d6897f0b84a","user":{"login":"zf-fr","id":2602400,"avatar_url":"https://avatars.githubusercontent.com/u/2602400?v=3","gravatar_id":"","url":"https://api.github.com/users/zf-fr","html_url":"https://github.com/zf-fr","followers_url":"https://api.github.com/users/zf-fr/followers","following_url":"https://api.github.com/users/zf-fr/following{/other_user}","gists_url":"https://api.github.com/users/zf-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/zf-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zf-fr/subscriptions","organizations_url":"https://api.github.com/users/zf-fr/orgs","repos_url":"https://api.github.com/users/zf-fr/repos","events_url":"https://api.github.com/users/zf-fr/events{/privacy}","received_events_url":"https://api.github.com/users/zf-fr/received_events","type":"Organization","site_admin":false},"repo":{"id":15129651,"name":"rbac","full_name":"zf-fr/rbac","owner":{"login":"zf-fr","id":2602400,"avatar_url":"https://avatars.githubusercontent.com/u/2602400?v=3","gravatar_id":"","url":"https://api.github.com/users/zf-fr","html_url":"https://github.com/zf-fr","followers_url":"https://api.github.com/users/zf-fr/followers","following_url":"https://api.github.com/users/zf-fr/following{/other_user}","gists_url":"https://api.github.com/users/zf-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/zf-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zf-fr/subscriptions","organizations_url":"https://api.github.com/users/zf-fr/orgs","repos_url":"https://api.github.com/users/zf-fr/repos","events_url":"https://api.github.com/users/zf-fr/events{/privacy}","received_events_url":"https://api.github.com/users/zf-fr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zf-fr/rbac","description":"Zend Framework 3 prototype for the Zend\\Permissions\\Rbac component","fork":false,"url":"https://api.github.com/repos/zf-fr/rbac","forks_url":"https://api.github.com/repos/zf-fr/rbac/forks","keys_url":"https://api.github.com/repos/zf-fr/rbac/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zf-fr/rbac/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zf-fr/rbac/teams","hooks_url":"https://api.github.com/repos/zf-fr/rbac/hooks","issue_events_url":"https://api.github.com/repos/zf-fr/rbac/issues/events{/number}","events_url":"https://api.github.com/repos/zf-fr/rbac/events","assignees_url":"https://api.github.com/repos/zf-fr/rbac/assignees{/user}","branches_url":"https://api.github.com/repos/zf-fr/rbac/branches{/branch}","tags_url":"https://api.github.com/repos/zf-fr/rbac/tags","blobs_url":"https://api.github.com/repos/zf-fr/rbac/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zf-fr/rbac/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zf-fr/rbac/git/refs{/sha}","trees_url":"https://api.github.com/repos/zf-fr/rbac/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zf-fr/rbac/statuses/{sha}","languages_url":"https://api.github.com/repos/zf-fr/rbac/languages","stargazers_url":"https://api.github.com/repos/zf-fr/rbac/stargazers","contributors_url":"https://api.github.com/repos/zf-fr/rbac/contributors","subscribers_url":"https://api.github.com/repos/zf-fr/rbac/subscribers","subscription_url":"https://api.github.com/repos/zf-fr/rbac/subscription","commits_url":"https://api.github.com/repos/zf-fr/rbac/commits{/sha}","git_commits_url":"https://api.github.com/repos/zf-fr/rbac/git/commits{/sha}","comments_url":"https://api.github.com/repos/zf-fr/rbac/comments{/number}","issue_comment_url":"https://api.github.com/repos/zf-fr/rbac/issues/comments{/number}","contents_url":"https://api.github.com/repos/zf-fr/rbac/contents/{+path}","compare_url":"https://api.github.com/repos/zf-fr/rbac/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zf-fr/rbac/merges","archive_url":"https://api.github.com/repos/zf-fr/rbac/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zf-fr/rbac/downloads","issues_url":"https://api.github.com/repos/zf-fr/rbac/issues{/number}","pulls_url":"https://api.github.com/repos/zf-fr/rbac/pulls{/number}","milestones_url":"https://api.github.com/repos/zf-fr/rbac/milestones{/number}","notifications_url":"https://api.github.com/repos/zf-fr/rbac/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zf-fr/rbac/labels{/name}","releases_url":"https://api.github.com/repos/zf-fr/rbac/releases{/id}","created_at":"2013-12-12T07:29:54Z","updated_at":"2015-10-25T05:43:52Z","pushed_at":"2015-11-08T15:37:48Z","git_url":"git://github.com/zf-fr/rbac.git","ssh_url":"git@github.com:zf-fr/rbac.git","clone_url":"https://github.com/zf-fr/rbac.git","svn_url":"https://github.com/zf-fr/rbac","homepage":null,"size":330,"stargazers_count":16,"watchers_count":16,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":16,"default_branch":"master"}},"base":{"label":"zf-fr:master","ref":"master","sha":"b2bebeacd15bf90b471285779006b1e75f8678b3","user":{"login":"zf-fr","id":2602400,"avatar_url":"https://avatars.githubusercontent.com/u/2602400?v=3","gravatar_id":"","url":"https://api.github.com/users/zf-fr","html_url":"https://github.com/zf-fr","followers_url":"https://api.github.com/users/zf-fr/followers","following_url":"https://api.github.com/users/zf-fr/following{/other_user}","gists_url":"https://api.github.com/users/zf-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/zf-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zf-fr/subscriptions","organizations_url":"https://api.github.com/users/zf-fr/orgs","repos_url":"https://api.github.com/users/zf-fr/repos","events_url":"https://api.github.com/users/zf-fr/events{/privacy}","received_events_url":"https://api.github.com/users/zf-fr/received_events","type":"Organization","site_admin":false},"repo":{"id":15129651,"name":"rbac","full_name":"zf-fr/rbac","owner":{"login":"zf-fr","id":2602400,"avatar_url":"https://avatars.githubusercontent.com/u/2602400?v=3","gravatar_id":"","url":"https://api.github.com/users/zf-fr","html_url":"https://github.com/zf-fr","followers_url":"https://api.github.com/users/zf-fr/followers","following_url":"https://api.github.com/users/zf-fr/following{/other_user}","gists_url":"https://api.github.com/users/zf-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/zf-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zf-fr/subscriptions","organizations_url":"https://api.github.com/users/zf-fr/orgs","repos_url":"https://api.github.com/users/zf-fr/repos","events_url":"https://api.github.com/users/zf-fr/events{/privacy}","received_events_url":"https://api.github.com/users/zf-fr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zf-fr/rbac","description":"Zend Framework 3 prototype for the Zend\\Permissions\\Rbac component","fork":false,"url":"https://api.github.com/repos/zf-fr/rbac","forks_url":"https://api.github.com/repos/zf-fr/rbac/forks","keys_url":"https://api.github.com/repos/zf-fr/rbac/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zf-fr/rbac/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zf-fr/rbac/teams","hooks_url":"https://api.github.com/repos/zf-fr/rbac/hooks","issue_events_url":"https://api.github.com/repos/zf-fr/rbac/issues/events{/number}","events_url":"https://api.github.com/repos/zf-fr/rbac/events","assignees_url":"https://api.github.com/repos/zf-fr/rbac/assignees{/user}","branches_url":"https://api.github.com/repos/zf-fr/rbac/branches{/branch}","tags_url":"https://api.github.com/repos/zf-fr/rbac/tags","blobs_url":"https://api.github.com/repos/zf-fr/rbac/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zf-fr/rbac/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zf-fr/rbac/git/refs{/sha}","trees_url":"https://api.github.com/repos/zf-fr/rbac/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zf-fr/rbac/statuses/{sha}","languages_url":"https://api.github.com/repos/zf-fr/rbac/languages","stargazers_url":"https://api.github.com/repos/zf-fr/rbac/stargazers","contributors_url":"https://api.github.com/repos/zf-fr/rbac/contributors","subscribers_url":"https://api.github.com/repos/zf-fr/rbac/subscribers","subscription_url":"https://api.github.com/repos/zf-fr/rbac/subscription","commits_url":"https://api.github.com/repos/zf-fr/rbac/commits{/sha}","git_commits_url":"https://api.github.com/repos/zf-fr/rbac/git/commits{/sha}","comments_url":"https://api.github.com/repos/zf-fr/rbac/comments{/number}","issue_comment_url":"https://api.github.com/repos/zf-fr/rbac/issues/comments{/number}","contents_url":"https://api.github.com/repos/zf-fr/rbac/contents/{+path}","compare_url":"https://api.github.com/repos/zf-fr/rbac/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zf-fr/rbac/merges","archive_url":"https://api.github.com/repos/zf-fr/rbac/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zf-fr/rbac/downloads","issues_url":"https://api.github.com/repos/zf-fr/rbac/issues{/number}","pulls_url":"https://api.github.com/repos/zf-fr/rbac/pulls{/number}","milestones_url":"https://api.github.com/repos/zf-fr/rbac/milestones{/number}","notifications_url":"https://api.github.com/repos/zf-fr/rbac/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zf-fr/rbac/labels{/name}","releases_url":"https://api.github.com/repos/zf-fr/rbac/releases{/id}","created_at":"2013-12-12T07:29:54Z","updated_at":"2015-10-25T05:43:52Z","pushed_at":"2015-11-08T15:37:48Z","git_url":"git://github.com/zf-fr/rbac.git","ssh_url":"git@github.com:zf-fr/rbac.git","clone_url":"https://github.com/zf-fr/rbac.git","svn_url":"https://github.com/zf-fr/rbac","homepage":null,"size":330,"stargazers_count":16,"watchers_count":16,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zf-fr/rbac/pulls/22"},"html":{"href":"https://github.com/zf-fr/rbac/pull/22"},"issue":{"href":"https://api.github.com/repos/zf-fr/rbac/issues/22"},"comments":{"href":"https://api.github.com/repos/zf-fr/rbac/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/zf-fr/rbac/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/zf-fr/rbac/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zf-fr/rbac/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/zf-fr/rbac/statuses/c61193bb7e1931e1bac96776fe565d6897f0b84a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bakura10","id":1198915,"avatar_url":"https://avatars.githubusercontent.com/u/1198915?v=3","gravatar_id":"","url":"https://api.github.com/users/bakura10","html_url":"https://github.com/bakura10","followers_url":"https://api.github.com/users/bakura10/followers","following_url":"https://api.github.com/users/bakura10/following{/other_user}","gists_url":"https://api.github.com/users/bakura10/gists{/gist_id}","starred_url":"https://api.github.com/users/bakura10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakura10/subscriptions","organizations_url":"https://api.github.com/users/bakura10/orgs","repos_url":"https://api.github.com/users/bakura10/repos","events_url":"https://api.github.com/users/bakura10/events{/privacy}","received_events_url":"https://api.github.com/users/bakura10/received_events","type":"User","site_admin":false},"comments":14,"review_comments":7,"commits":7,"additions":177,"deletions":519,"changed_files":19}}