{"action":"created","comment":{"url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/comments/196561932","pull_request_review_id":130139683,"id":196561932,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjU2MTkzMg==","diff_hunk":"@@ -415,7 +415,7 @@ subscriptions.deleteSubscription = function (app, res, applications, loggedInUse\n                 return utils.fail(res, 403, 'Not allowed. User invalid.');\n \n             var isAllowed = false;\n-            if (userInfo.admin)\n+            if (userInfo.admin || userInfo.approver)","path":"routes/subscriptions.js","position":5,"original_position":5,"commit_id":"9d8f77876b9b3654d121c1c3748ce1f7e78109d2","original_commit_id":"400a831c312220837bdadee10fa4678aec152dc8","user":{"login":"santokhsingh","id":9421117,"node_id":"MDQ6VXNlcjk0MjExMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/9421117?v=4","gravatar_id":"","url":"https://api.github.com/users/santokhsingh","html_url":"https://github.com/santokhsingh","followers_url":"https://api.github.com/users/santokhsingh/followers","following_url":"https://api.github.com/users/santokhsingh/following{/other_user}","gists_url":"https://api.github.com/users/santokhsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/santokhsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santokhsingh/subscriptions","organizations_url":"https://api.github.com/users/santokhsingh/orgs","repos_url":"https://api.github.com/users/santokhsingh/repos","events_url":"https://api.github.com/users/santokhsingh/events{/privacy}","received_events_url":"https://api.github.com/users/santokhsingh/received_events","type":"User","site_admin":false},"body":"Yes, Approver's were not able to decline the approval","created_at":"2018-06-19T20:11:42Z","updated_at":"2018-06-19T20:11:42Z","html_url":"https://github.com/apim-haufe-io/wicked.portal-api/pull/16#discussion_r196561932","pull_request_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/comments/196561932"},"html":{"href":"https://github.com/apim-haufe-io/wicked.portal-api/pull/16#discussion_r196561932"},"pull_request":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16"}},"in_reply_to_id":196373812},"pull_request":{"url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16","id":195690318,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NjkwMzE4","html_url":"https://github.com/apim-haufe-io/wicked.portal-api/pull/16","diff_url":"https://github.com/apim-haufe-io/wicked.portal-api/pull/16.diff","patch_url":"https://github.com/apim-haufe-io/wicked.portal-api/pull/16.patch","issue_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/16","number":16,"state":"open","locked":false,"title":"Changelog","user":{"login":"santokhsingh","id":9421117,"node_id":"MDQ6VXNlcjk0MjExMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/9421117?v=4","gravatar_id":"","url":"https://api.github.com/users/santokhsingh","html_url":"https://github.com/santokhsingh","followers_url":"https://api.github.com/users/santokhsingh/followers","following_url":"https://api.github.com/users/santokhsingh/following{/other_user}","gists_url":"https://api.github.com/users/santokhsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/santokhsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santokhsingh/subscriptions","organizations_url":"https://api.github.com/users/santokhsingh/orgs","repos_url":"https://api.github.com/users/santokhsingh/repos","events_url":"https://api.github.com/users/santokhsingh/events{/privacy}","received_events_url":"https://api.github.com/users/santokhsingh/received_events","type":"User","site_admin":false},"body":"- Application description field\r\n- Bug fix: Approvers were not been able to decline application approval","created_at":"2018-06-19T01:32:30Z","updated_at":"2018-06-19T20:11:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa7a958eca354445c819fe3bb6f89222ab0cd1a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16/commits","review_comments_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16/comments","review_comment_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/16/comments","statuses_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/statuses/9d8f77876b9b3654d121c1c3748ce1f7e78109d2","head":{"label":"apim-haufe-io:ui-enhancements","ref":"ui-enhancements","sha":"9d8f77876b9b3654d121c1c3748ce1f7e78109d2","user":{"login":"apim-haufe-io","id":26771679,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzcxNjc5","avatar_url":"https://avatars1.githubusercontent.com/u/26771679?v=4","gravatar_id":"","url":"https://api.github.com/users/apim-haufe-io","html_url":"https://github.com/apim-haufe-io","followers_url":"https://api.github.com/users/apim-haufe-io/followers","following_url":"https://api.github.com/users/apim-haufe-io/following{/other_user}","gists_url":"https://api.github.com/users/apim-haufe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/apim-haufe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apim-haufe-io/subscriptions","organizations_url":"https://api.github.com/users/apim-haufe-io/orgs","repos_url":"https://api.github.com/users/apim-haufe-io/repos","events_url":"https://api.github.com/users/apim-haufe-io/events{/privacy}","received_events_url":"https://api.github.com/users/apim-haufe-io/received_events","type":"Organization","site_admin":false},"repo":{"id":65023879,"node_id":"MDEwOlJlcG9zaXRvcnk2NTAyMzg3OQ==","name":"wicked.portal-api","full_name":"apim-haufe-io/wicked.portal-api","owner":{"login":"apim-haufe-io","id":26771679,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzcxNjc5","avatar_url":"https://avatars1.githubusercontent.com/u/26771679?v=4","gravatar_id":"","url":"https://api.github.com/users/apim-haufe-io","html_url":"https://github.com/apim-haufe-io","followers_url":"https://api.github.com/users/apim-haufe-io/followers","following_url":"https://api.github.com/users/apim-haufe-io/following{/other_user}","gists_url":"https://api.github.com/users/apim-haufe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/apim-haufe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apim-haufe-io/subscriptions","organizations_url":"https://api.github.com/users/apim-haufe-io/orgs","repos_url":"https://api.github.com/users/apim-haufe-io/repos","events_url":"https://api.github.com/users/apim-haufe-io/events{/privacy}","received_events_url":"https://api.github.com/users/apim-haufe-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apim-haufe-io/wicked.portal-api","description":"wicked.haufe.io - API Portal backend API service","fork":false,"url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api","forks_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/forks","keys_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/teams","hooks_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/hooks","issue_events_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/events{/number}","events_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/events","assignees_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/assignees{/user}","branches_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/branches{/branch}","tags_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/tags","blobs_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/statuses/{sha}","languages_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/languages","stargazers_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/stargazers","contributors_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/contributors","subscribers_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/subscribers","subscription_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/subscription","commits_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/contents/{+path}","compare_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/merges","archive_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/downloads","issues_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues{/number}","pulls_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls{/number}","milestones_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/milestones{/number}","notifications_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/labels{/name}","releases_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/releases{/id}","deployments_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/deployments","created_at":"2016-08-05T14:13:34Z","updated_at":"2018-04-27T08:13:30Z","pushed_at":"2018-06-19T17:40:22Z","git_url":"git://github.com/apim-haufe-io/wicked.portal-api.git","ssh_url":"git@github.com:apim-haufe-io/wicked.portal-api.git","clone_url":"https://github.com/apim-haufe-io/wicked.portal-api.git","svn_url":"https://github.com/apim-haufe-io/wicked.portal-api","homepage":null,"size":695,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":4,"open_issues":2,"watchers":0,"default_branch":"next"}},"base":{"label":"apim-haufe-io:wicked_1_0","ref":"wicked_1_0","sha":"9effc3d1fb2141f80e6a9a3f6c88482b4571b08a","user":{"login":"apim-haufe-io","id":26771679,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzcxNjc5","avatar_url":"https://avatars1.githubusercontent.com/u/26771679?v=4","gravatar_id":"","url":"https://api.github.com/users/apim-haufe-io","html_url":"https://github.com/apim-haufe-io","followers_url":"https://api.github.com/users/apim-haufe-io/followers","following_url":"https://api.github.com/users/apim-haufe-io/following{/other_user}","gists_url":"https://api.github.com/users/apim-haufe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/apim-haufe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apim-haufe-io/subscriptions","organizations_url":"https://api.github.com/users/apim-haufe-io/orgs","repos_url":"https://api.github.com/users/apim-haufe-io/repos","events_url":"https://api.github.com/users/apim-haufe-io/events{/privacy}","received_events_url":"https://api.github.com/users/apim-haufe-io/received_events","type":"Organization","site_admin":false},"repo":{"id":65023879,"node_id":"MDEwOlJlcG9zaXRvcnk2NTAyMzg3OQ==","name":"wicked.portal-api","full_name":"apim-haufe-io/wicked.portal-api","owner":{"login":"apim-haufe-io","id":26771679,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzcxNjc5","avatar_url":"https://avatars1.githubusercontent.com/u/26771679?v=4","gravatar_id":"","url":"https://api.github.com/users/apim-haufe-io","html_url":"https://github.com/apim-haufe-io","followers_url":"https://api.github.com/users/apim-haufe-io/followers","following_url":"https://api.github.com/users/apim-haufe-io/following{/other_user}","gists_url":"https://api.github.com/users/apim-haufe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/apim-haufe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apim-haufe-io/subscriptions","organizations_url":"https://api.github.com/users/apim-haufe-io/orgs","repos_url":"https://api.github.com/users/apim-haufe-io/repos","events_url":"https://api.github.com/users/apim-haufe-io/events{/privacy}","received_events_url":"https://api.github.com/users/apim-haufe-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apim-haufe-io/wicked.portal-api","description":"wicked.haufe.io - API Portal backend API service","fork":false,"url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api","forks_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/forks","keys_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/teams","hooks_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/hooks","issue_events_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/events{/number}","events_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/events","assignees_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/assignees{/user}","branches_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/branches{/branch}","tags_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/tags","blobs_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/statuses/{sha}","languages_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/languages","stargazers_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/stargazers","contributors_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/contributors","subscribers_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/subscribers","subscription_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/subscription","commits_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/contents/{+path}","compare_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/merges","archive_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/downloads","issues_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues{/number}","pulls_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls{/number}","milestones_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/milestones{/number}","notifications_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/labels{/name}","releases_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/releases{/id}","deployments_url":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/deployments","created_at":"2016-08-05T14:13:34Z","updated_at":"2018-04-27T08:13:30Z","pushed_at":"2018-06-19T17:40:22Z","git_url":"git://github.com/apim-haufe-io/wicked.portal-api.git","ssh_url":"git@github.com:apim-haufe-io/wicked.portal-api.git","clone_url":"https://github.com/apim-haufe-io/wicked.portal-api.git","svn_url":"https://github.com/apim-haufe-io/wicked.portal-api","homepage":null,"size":695,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":4,"open_issues":2,"watchers":0,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16"},"html":{"href":"https://github.com/apim-haufe-io/wicked.portal-api/pull/16"},"issue":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/16"},"comments":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/apim-haufe-io/wicked.portal-api/statuses/9d8f77876b9b3654d121c1c3748ce1f7e78109d2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"santokhsingh"}}