{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/AsgardCms/Menu/pulls/28","id":60204678,"html_url":"https://github.com/AsgardCms/Menu/pull/28","diff_url":"https://github.com/AsgardCms/Menu/pull/28.diff","patch_url":"https://github.com/AsgardCms/Menu/pull/28.patch","issue_url":"https://api.github.com/repos/AsgardCms/Menu/issues/28","number":28,"state":"closed","locked":false,"title":"Use new middleware as discussed in chat.","user":{"login":"mruoss","id":695307,"avatar_url":"https://avatars.githubusercontent.com/u/695307?v=3","gravatar_id":"","url":"https://api.github.com/users/mruoss","html_url":"https://github.com/mruoss","followers_url":"https://api.github.com/users/mruoss/followers","following_url":"https://api.github.com/users/mruoss/following{/other_user}","gists_url":"https://api.github.com/users/mruoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mruoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruoss/subscriptions","organizations_url":"https://api.github.com/users/mruoss/orgs","repos_url":"https://api.github.com/users/mruoss/repos","events_url":"https://api.github.com/users/mruoss/events{/privacy}","received_events_url":"https://api.github.com/users/mruoss/received_events","type":"User","site_admin":false},"body":"Previousely, any user could update or delete any menu item. Permissions had no effect for api call.","created_at":"2016-02-22T16:58:23Z","updated_at":"2016-02-22T18:30:30Z","closed_at":"2016-02-22T18:30:30Z","merged_at":"2016-02-22T18:30:30Z","merge_commit_sha":"c733991c175da6dfcb53003a49a0f4337bf90924","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AsgardCms/Menu/pulls/28/commits","review_comments_url":"https://api.github.com/repos/AsgardCms/Menu/pulls/28/comments","review_comment_url":"https://api.github.com/repos/AsgardCms/Menu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AsgardCms/Menu/issues/28/comments","statuses_url":"https://api.github.com/repos/AsgardCms/Menu/statuses/22b4a1f79f8fa8d70ba4286b234b8aa6e7c3be50","head":{"label":"mruoss:patch-1","ref":"patch-1","sha":"22b4a1f79f8fa8d70ba4286b234b8aa6e7c3be50","user":{"login":"mruoss","id":695307,"avatar_url":"https://avatars.githubusercontent.com/u/695307?v=3","gravatar_id":"","url":"https://api.github.com/users/mruoss","html_url":"https://github.com/mruoss","followers_url":"https://api.github.com/users/mruoss/followers","following_url":"https://api.github.com/users/mruoss/following{/other_user}","gists_url":"https://api.github.com/users/mruoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mruoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruoss/subscriptions","organizations_url":"https://api.github.com/users/mruoss/orgs","repos_url":"https://api.github.com/users/mruoss/repos","events_url":"https://api.github.com/users/mruoss/events{/privacy}","received_events_url":"https://api.github.com/users/mruoss/received_events","type":"User","site_admin":false},"repo":{"id":52289286,"name":"Menu","full_name":"mruoss/Menu","owner":{"login":"mruoss","id":695307,"avatar_url":"https://avatars.githubusercontent.com/u/695307?v=3","gravatar_id":"","url":"https://api.github.com/users/mruoss","html_url":"https://github.com/mruoss","followers_url":"https://api.github.com/users/mruoss/followers","following_url":"https://api.github.com/users/mruoss/following{/other_user}","gists_url":"https://api.github.com/users/mruoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mruoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruoss/subscriptions","organizations_url":"https://api.github.com/users/mruoss/orgs","repos_url":"https://api.github.com/users/mruoss/repos","events_url":"https://api.github.com/users/mruoss/events{/privacy}","received_events_url":"https://api.github.com/users/mruoss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mruoss/Menu","description":"A menu module.","fork":true,"url":"https://api.github.com/repos/mruoss/Menu","forks_url":"https://api.github.com/repos/mruoss/Menu/forks","keys_url":"https://api.github.com/repos/mruoss/Menu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mruoss/Menu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mruoss/Menu/teams","hooks_url":"https://api.github.com/repos/mruoss/Menu/hooks","issue_events_url":"https://api.github.com/repos/mruoss/Menu/issues/events{/number}","events_url":"https://api.github.com/repos/mruoss/Menu/events","assignees_url":"https://api.github.com/repos/mruoss/Menu/assignees{/user}","branches_url":"https://api.github.com/repos/mruoss/Menu/branches{/branch}","tags_url":"https://api.github.com/repos/mruoss/Menu/tags","blobs_url":"https://api.github.com/repos/mruoss/Menu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mruoss/Menu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mruoss/Menu/git/refs{/sha}","trees_url":"https://api.github.com/repos/mruoss/Menu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mruoss/Menu/statuses/{sha}","languages_url":"https://api.github.com/repos/mruoss/Menu/languages","stargazers_url":"https://api.github.com/repos/mruoss/Menu/stargazers","contributors_url":"https://api.github.com/repos/mruoss/Menu/contributors","subscribers_url":"https://api.github.com/repos/mruoss/Menu/subscribers","subscription_url":"https://api.github.com/repos/mruoss/Menu/subscription","commits_url":"https://api.github.com/repos/mruoss/Menu/commits{/sha}","git_commits_url":"https://api.github.com/repos/mruoss/Menu/git/commits{/sha}","comments_url":"https://api.github.com/repos/mruoss/Menu/comments{/number}","issue_comment_url":"https://api.github.com/repos/mruoss/Menu/issues/comments{/number}","contents_url":"https://api.github.com/repos/mruoss/Menu/contents/{+path}","compare_url":"https://api.github.com/repos/mruoss/Menu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mruoss/Menu/merges","archive_url":"https://api.github.com/repos/mruoss/Menu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mruoss/Menu/downloads","issues_url":"https://api.github.com/repos/mruoss/Menu/issues{/number}","pulls_url":"https://api.github.com/repos/mruoss/Menu/pulls{/number}","milestones_url":"https://api.github.com/repos/mruoss/Menu/milestones{/number}","notifications_url":"https://api.github.com/repos/mruoss/Menu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mruoss/Menu/labels{/name}","releases_url":"https://api.github.com/repos/mruoss/Menu/releases{/id}","deployments_url":"https://api.github.com/repos/mruoss/Menu/deployments","created_at":"2016-02-22T16:56:12Z","updated_at":"2016-02-22T16:56:13Z","pushed_at":"2016-02-22T16:57:54Z","git_url":"git://github.com/mruoss/Menu.git","ssh_url":"git@github.com:mruoss/Menu.git","clone_url":"https://github.com/mruoss/Menu.git","svn_url":"https://github.com/mruoss/Menu","homepage":"","size":272,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"AsgardCms:master","ref":"master","sha":"d76be7b51eb114942ff7ecf63c37eeacd24cb7af","user":{"login":"AsgardCms","id":8859068,"avatar_url":"https://avatars.githubusercontent.com/u/8859068?v=3","gravatar_id":"","url":"https://api.github.com/users/AsgardCms","html_url":"https://github.com/AsgardCms","followers_url":"https://api.github.com/users/AsgardCms/followers","following_url":"https://api.github.com/users/AsgardCms/following{/other_user}","gists_url":"https://api.github.com/users/AsgardCms/gists{/gist_id}","starred_url":"https://api.github.com/users/AsgardCms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsgardCms/subscriptions","organizations_url":"https://api.github.com/users/AsgardCms/orgs","repos_url":"https://api.github.com/users/AsgardCms/repos","events_url":"https://api.github.com/users/AsgardCms/events{/privacy}","received_events_url":"https://api.github.com/users/AsgardCms/received_events","type":"Organization","site_admin":false},"repo":{"id":26125686,"name":"Menu","full_name":"AsgardCms/Menu","owner":{"login":"AsgardCms","id":8859068,"avatar_url":"https://avatars.githubusercontent.com/u/8859068?v=3","gravatar_id":"","url":"https://api.github.com/users/AsgardCms","html_url":"https://github.com/AsgardCms","followers_url":"https://api.github.com/users/AsgardCms/followers","following_url":"https://api.github.com/users/AsgardCms/following{/other_user}","gists_url":"https://api.github.com/users/AsgardCms/gists{/gist_id}","starred_url":"https://api.github.com/users/AsgardCms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsgardCms/subscriptions","organizations_url":"https://api.github.com/users/AsgardCms/orgs","repos_url":"https://api.github.com/users/AsgardCms/repos","events_url":"https://api.github.com/users/AsgardCms/events{/privacy}","received_events_url":"https://api.github.com/users/AsgardCms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AsgardCms/Menu","description":"A menu module.","fork":false,"url":"https://api.github.com/repos/AsgardCms/Menu","forks_url":"https://api.github.com/repos/AsgardCms/Menu/forks","keys_url":"https://api.github.com/repos/AsgardCms/Menu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AsgardCms/Menu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AsgardCms/Menu/teams","hooks_url":"https://api.github.com/repos/AsgardCms/Menu/hooks","issue_events_url":"https://api.github.com/repos/AsgardCms/Menu/issues/events{/number}","events_url":"https://api.github.com/repos/AsgardCms/Menu/events","assignees_url":"https://api.github.com/repos/AsgardCms/Menu/assignees{/user}","branches_url":"https://api.github.com/repos/AsgardCms/Menu/branches{/branch}","tags_url":"https://api.github.com/repos/AsgardCms/Menu/tags","blobs_url":"https://api.github.com/repos/AsgardCms/Menu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AsgardCms/Menu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AsgardCms/Menu/git/refs{/sha}","trees_url":"https://api.github.com/repos/AsgardCms/Menu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AsgardCms/Menu/statuses/{sha}","languages_url":"https://api.github.com/repos/AsgardCms/Menu/languages","stargazers_url":"https://api.github.com/repos/AsgardCms/Menu/stargazers","contributors_url":"https://api.github.com/repos/AsgardCms/Menu/contributors","subscribers_url":"https://api.github.com/repos/AsgardCms/Menu/subscribers","subscription_url":"https://api.github.com/repos/AsgardCms/Menu/subscription","commits_url":"https://api.github.com/repos/AsgardCms/Menu/commits{/sha}","git_commits_url":"https://api.github.com/repos/AsgardCms/Menu/git/commits{/sha}","comments_url":"https://api.github.com/repos/AsgardCms/Menu/comments{/number}","issue_comment_url":"https://api.github.com/repos/AsgardCms/Menu/issues/comments{/number}","contents_url":"https://api.github.com/repos/AsgardCms/Menu/contents/{+path}","compare_url":"https://api.github.com/repos/AsgardCms/Menu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AsgardCms/Menu/merges","archive_url":"https://api.github.com/repos/AsgardCms/Menu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AsgardCms/Menu/downloads","issues_url":"https://api.github.com/repos/AsgardCms/Menu/issues{/number}","pulls_url":"https://api.github.com/repos/AsgardCms/Menu/pulls{/number}","milestones_url":"https://api.github.com/repos/AsgardCms/Menu/milestones{/number}","notifications_url":"https://api.github.com/repos/AsgardCms/Menu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AsgardCms/Menu/labels{/name}","releases_url":"https://api.github.com/repos/AsgardCms/Menu/releases{/id}","deployments_url":"https://api.github.com/repos/AsgardCms/Menu/deployments","created_at":"2014-11-03T15:44:53Z","updated_at":"2016-01-26T11:54:42Z","pushed_at":"2016-02-22T18:30:30Z","git_url":"git://github.com/AsgardCms/Menu.git","ssh_url":"git@github.com:AsgardCms/Menu.git","clone_url":"https://github.com/AsgardCms/Menu.git","svn_url":"https://github.com/AsgardCms/Menu","homepage":"","size":286,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":3,"forks":27,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AsgardCms/Menu/pulls/28"},"html":{"href":"https://github.com/AsgardCms/Menu/pull/28"},"issue":{"href":"https://api.github.com/repos/AsgardCms/Menu/issues/28"},"comments":{"href":"https://api.github.com/repos/AsgardCms/Menu/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/AsgardCms/Menu/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/AsgardCms/Menu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AsgardCms/Menu/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/AsgardCms/Menu/statuses/22b4a1f79f8fa8d70ba4286b234b8aa6e7c3be50"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nWidart","id":882397,"avatar_url":"https://avatars.githubusercontent.com/u/882397?v=3","gravatar_id":"","url":"https://api.github.com/users/nWidart","html_url":"https://github.com/nWidart","followers_url":"https://api.github.com/users/nWidart/followers","following_url":"https://api.github.com/users/nWidart/following{/other_user}","gists_url":"https://api.github.com/users/nWidart/gists{/gist_id}","starred_url":"https://api.github.com/users/nWidart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nWidart/subscriptions","organizations_url":"https://api.github.com/users/nWidart/orgs","repos_url":"https://api.github.com/users/nWidart/repos","events_url":"https://api.github.com/users/nWidart/events{/privacy}","received_events_url":"https://api.github.com/users/nWidart/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":12,"deletions":2,"changed_files":1}}