{"action":"opened","number":992,"pull_request":{"url":"https://api.github.com/repos/ProcessMaker/bpm/pulls/992","id":235998332,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTk4MzMy","html_url":"https://github.com/ProcessMaker/bpm/pull/992","diff_url":"https://github.com/ProcessMaker/bpm/pull/992.diff","patch_url":"https://github.com/ProcessMaker/bpm/pull/992.patch","issue_url":"https://api.github.com/repos/ProcessMaker/bpm/issues/992","number":992,"state":"open","locked":false,"title":"As a user without permission to cancel a request, I cannot see the cancel button","user":{"login":"milaendo","id":29641725,"node_id":"MDQ6VXNlcjI5NjQxNzI1","avatar_url":"https://avatars2.githubusercontent.com/u/29641725?v=4","gravatar_id":"","url":"https://api.github.com/users/milaendo","html_url":"https://github.com/milaendo","followers_url":"https://api.github.com/users/milaendo/followers","following_url":"https://api.github.com/users/milaendo/following{/other_user}","gists_url":"https://api.github.com/users/milaendo/gists{/gist_id}","starred_url":"https://api.github.com/users/milaendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milaendo/subscriptions","organizations_url":"https://api.github.com/users/milaendo/orgs","repos_url":"https://api.github.com/users/milaendo/repos","events_url":"https://api.github.com/users/milaendo/events{/privacy}","received_events_url":"https://api.github.com/users/milaendo/received_events","type":"User","site_admin":false},"body":"fixes #976 \r\n\r\nTo test: \r\nlog in as a user without permission to cancel a request, navigate to the request summary page and see that there is no long a section for \"cancel\"\r\n\r\nThere has also been unused code removed in the ProcessRequestController\r\n![screen shot 2018-12-04 at 3 32 46 pm](https://user-images.githubusercontent.com/29641725/49480326-27a7b180-f7db-11e8-95be-4d7b40dc3c33.png)\r\n\r\n","created_at":"2018-12-04T23:42:10Z","updated_at":"2018-12-04T23:42:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ProcessMaker/bpm/pulls/992/commits","review_comments_url":"https://api.github.com/repos/ProcessMaker/bpm/pulls/992/comments","review_comment_url":"https://api.github.com/repos/ProcessMaker/bpm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProcessMaker/bpm/issues/992/comments","statuses_url":"https://api.github.com/repos/ProcessMaker/bpm/statuses/58c4db9a3b23cb798aec28e61d7c20b5e521b848","head":{"label":"ProcessMaker:feature/976","ref":"feature/976","sha":"58c4db9a3b23cb798aec28e61d7c20b5e521b848","user":{"login":"ProcessMaker","id":12500880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTAwODgw","avatar_url":"https://avatars0.githubusercontent.com/u/12500880?v=4","gravatar_id":"","url":"https://api.github.com/users/ProcessMaker","html_url":"https://github.com/ProcessMaker","followers_url":"https://api.github.com/users/ProcessMaker/followers","following_url":"https://api.github.com/users/ProcessMaker/following{/other_user}","gists_url":"https://api.github.com/users/ProcessMaker/gists{/gist_id}","starred_url":"https://api.github.com/users/ProcessMaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProcessMaker/subscriptions","organizations_url":"https://api.github.com/users/ProcessMaker/orgs","repos_url":"https://api.github.com/users/ProcessMaker/repos","events_url":"https://api.github.com/users/ProcessMaker/events{/privacy}","received_events_url":"https://api.github.com/users/ProcessMaker/received_events","type":"Organization","site_admin":false},"repo":{"id":127204751,"node_id":"MDEwOlJlcG9zaXRvcnkxMjcyMDQ3NTE=","name":"bpm","full_name":"ProcessMaker/bpm","private":false,"owner":{"login":"ProcessMaker","id":12500880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTAwODgw","avatar_url":"https://avatars0.githubusercontent.com/u/12500880?v=4","gravatar_id":"","url":"https://api.github.com/users/ProcessMaker","html_url":"https://github.com/ProcessMaker","followers_url":"https://api.github.com/users/ProcessMaker/followers","following_url":"https://api.github.com/users/ProcessMaker/following{/other_user}","gists_url":"https://api.github.com/users/ProcessMaker/gists{/gist_id}","starred_url":"https://api.github.com/users/ProcessMaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProcessMaker/subscriptions","organizations_url":"https://api.github.com/users/ProcessMaker/orgs","repos_url":"https://api.github.com/users/ProcessMaker/repos","events_url":"https://api.github.com/users/ProcessMaker/events{/privacy}","received_events_url":"https://api.github.com/users/ProcessMaker/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ProcessMaker/bpm","description":"ProcessMaker BPM Core","fork":false,"url":"https://api.github.com/repos/ProcessMaker/bpm","forks_url":"https://api.github.com/repos/ProcessMaker/bpm/forks","keys_url":"https://api.github.com/repos/ProcessMaker/bpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProcessMaker/bpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProcessMaker/bpm/teams","hooks_url":"https://api.github.com/repos/ProcessMaker/bpm/hooks","issue_events_url":"https://api.github.com/repos/ProcessMaker/bpm/issues/events{/number}","events_url":"https://api.github.com/repos/ProcessMaker/bpm/events","assignees_url":"https://api.github.com/repos/ProcessMaker/bpm/assignees{/user}","branches_url":"https://api.github.com/repos/ProcessMaker/bpm/branches{/branch}","tags_url":"https://api.github.com/repos/ProcessMaker/bpm/tags","blobs_url":"https://api.github.com/repos/ProcessMaker/bpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProcessMaker/bpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProcessMaker/bpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProcessMaker/bpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProcessMaker/bpm/statuses/{sha}","languages_url":"https://api.github.com/repos/ProcessMaker/bpm/languages","stargazers_url":"https://api.github.com/repos/ProcessMaker/bpm/stargazers","contributors_url":"https://api.github.com/repos/ProcessMaker/bpm/contributors","subscribers_url":"https://api.github.com/repos/ProcessMaker/bpm/subscribers","subscription_url":"https://api.github.com/repos/ProcessMaker/bpm/subscription","commits_url":"https://api.github.com/repos/ProcessMaker/bpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProcessMaker/bpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProcessMaker/bpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProcessMaker/bpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProcessMaker/bpm/contents/{+path}","compare_url":"https://api.github.com/repos/ProcessMaker/bpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProcessMaker/bpm/merges","archive_url":"https://api.github.com/repos/ProcessMaker/bpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProcessMaker/bpm/downloads","issues_url":"https://api.github.com/repos/ProcessMaker/bpm/issues{/number}","pulls_url":"https://api.github.com/repos/ProcessMaker/bpm/pulls{/number}","milestones_url":"https://api.github.com/repos/ProcessMaker/bpm/milestones{/number}","notifications_url":"https://api.github.com/repos/ProcessMaker/bpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProcessMaker/bpm/labels{/name}","releases_url":"https://api.github.com/repos/ProcessMaker/bpm/releases{/id}","deployments_url":"https://api.github.com/repos/ProcessMaker/bpm/deployments","created_at":"2018-03-28T22:15:29Z","updated_at":"2018-11-30T23:03:26Z","pushed_at":"2018-12-04T23:40:07Z","git_url":"git://github.com/ProcessMaker/bpm.git","ssh_url":"git@github.com:ProcessMaker/bpm.git","clone_url":"https://github.com/ProcessMaker/bpm.git","svn_url":"https://github.com/ProcessMaker/bpm","homepage":null,"size":39103,"stargazers_count":20,"watchers_count":20,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":14,"open_issues":49,"watchers":20,"default_branch":"develop"}},"base":{"label":"ProcessMaker:develop","ref":"develop","sha":"a401f82543d5e339ee127cd4b81e323f59cbd42b","user":{"login":"ProcessMaker","id":12500880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTAwODgw","avatar_url":"https://avatars0.githubusercontent.com/u/12500880?v=4","gravatar_id":"","url":"https://api.github.com/users/ProcessMaker","html_url":"https://github.com/ProcessMaker","followers_url":"https://api.github.com/users/ProcessMaker/followers","following_url":"https://api.github.com/users/ProcessMaker/following{/other_user}","gists_url":"https://api.github.com/users/ProcessMaker/gists{/gist_id}","starred_url":"https://api.github.com/users/ProcessMaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProcessMaker/subscriptions","organizations_url":"https://api.github.com/users/ProcessMaker/orgs","repos_url":"https://api.github.com/users/ProcessMaker/repos","events_url":"https://api.github.com/users/ProcessMaker/events{/privacy}","received_events_url":"https://api.github.com/users/ProcessMaker/received_events","type":"Organization","site_admin":false},"repo":{"id":127204751,"node_id":"MDEwOlJlcG9zaXRvcnkxMjcyMDQ3NTE=","name":"bpm","full_name":"ProcessMaker/bpm","private":false,"owner":{"login":"ProcessMaker","id":12500880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTAwODgw","avatar_url":"https://avatars0.githubusercontent.com/u/12500880?v=4","gravatar_id":"","url":"https://api.github.com/users/ProcessMaker","html_url":"https://github.com/ProcessMaker","followers_url":"https://api.github.com/users/ProcessMaker/followers","following_url":"https://api.github.com/users/ProcessMaker/following{/other_user}","gists_url":"https://api.github.com/users/ProcessMaker/gists{/gist_id}","starred_url":"https://api.github.com/users/ProcessMaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProcessMaker/subscriptions","organizations_url":"https://api.github.com/users/ProcessMaker/orgs","repos_url":"https://api.github.com/users/ProcessMaker/repos","events_url":"https://api.github.com/users/ProcessMaker/events{/privacy}","received_events_url":"https://api.github.com/users/ProcessMaker/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ProcessMaker/bpm","description":"ProcessMaker BPM Core","fork":false,"url":"https://api.github.com/repos/ProcessMaker/bpm","forks_url":"https://api.github.com/repos/ProcessMaker/bpm/forks","keys_url":"https://api.github.com/repos/ProcessMaker/bpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProcessMaker/bpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProcessMaker/bpm/teams","hooks_url":"https://api.github.com/repos/ProcessMaker/bpm/hooks","issue_events_url":"https://api.github.com/repos/ProcessMaker/bpm/issues/events{/number}","events_url":"https://api.github.com/repos/ProcessMaker/bpm/events","assignees_url":"https://api.github.com/repos/ProcessMaker/bpm/assignees{/user}","branches_url":"https://api.github.com/repos/ProcessMaker/bpm/branches{/branch}","tags_url":"https://api.github.com/repos/ProcessMaker/bpm/tags","blobs_url":"https://api.github.com/repos/ProcessMaker/bpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProcessMaker/bpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProcessMaker/bpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProcessMaker/bpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProcessMaker/bpm/statuses/{sha}","languages_url":"https://api.github.com/repos/ProcessMaker/bpm/languages","stargazers_url":"https://api.github.com/repos/ProcessMaker/bpm/stargazers","contributors_url":"https://api.github.com/repos/ProcessMaker/bpm/contributors","subscribers_url":"https://api.github.com/repos/ProcessMaker/bpm/subscribers","subscription_url":"https://api.github.com/repos/ProcessMaker/bpm/subscription","commits_url":"https://api.github.com/repos/ProcessMaker/bpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProcessMaker/bpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProcessMaker/bpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProcessMaker/bpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProcessMaker/bpm/contents/{+path}","compare_url":"https://api.github.com/repos/ProcessMaker/bpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProcessMaker/bpm/merges","archive_url":"https://api.github.com/repos/ProcessMaker/bpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProcessMaker/bpm/downloads","issues_url":"https://api.github.com/repos/ProcessMaker/bpm/issues{/number}","pulls_url":"https://api.github.com/repos/ProcessMaker/bpm/pulls{/number}","milestones_url":"https://api.github.com/repos/ProcessMaker/bpm/milestones{/number}","notifications_url":"https://api.github.com/repos/ProcessMaker/bpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProcessMaker/bpm/labels{/name}","releases_url":"https://api.github.com/repos/ProcessMaker/bpm/releases{/id}","deployments_url":"https://api.github.com/repos/ProcessMaker/bpm/deployments","created_at":"2018-03-28T22:15:29Z","updated_at":"2018-11-30T23:03:26Z","pushed_at":"2018-12-04T23:40:07Z","git_url":"git://github.com/ProcessMaker/bpm.git","ssh_url":"git@github.com:ProcessMaker/bpm.git","clone_url":"https://github.com/ProcessMaker/bpm.git","svn_url":"https://github.com/ProcessMaker/bpm","homepage":null,"size":39103,"stargazers_count":20,"watchers_count":20,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":14,"open_issues":49,"watchers":20,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ProcessMaker/bpm/pulls/992"},"html":{"href":"https://github.com/ProcessMaker/bpm/pull/992"},"issue":{"href":"https://api.github.com/repos/ProcessMaker/bpm/issues/992"},"comments":{"href":"https://api.github.com/repos/ProcessMaker/bpm/issues/992/comments"},"review_comments":{"href":"https://api.github.com/repos/ProcessMaker/bpm/pulls/992/comments"},"review_comment":{"href":"https://api.github.com/repos/ProcessMaker/bpm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProcessMaker/bpm/pulls/992/commits"},"statuses":{"href":"https://api.github.com/repos/ProcessMaker/bpm/statuses/58c4db9a3b23cb798aec28e61d7c20b5e521b848"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":49,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"milaendo"}}