{"action":"closed","number":92,"pull_request":{"url":"https://api.github.com/repos/amida-tech/orange-api/pulls/92","id":206101685,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTAxNjg1","html_url":"https://github.com/amida-tech/orange-api/pull/92","diff_url":"https://github.com/amida-tech/orange-api/pull/92.diff","patch_url":"https://github.com/amida-tech/orange-api/pull/92.patch","issue_url":"https://api.github.com/repos/amida-tech/orange-api/issues/92","number":92,"state":"closed","locked":false,"title":"returns 403 on attempt to delete share on patient user doesn't own","user":{"login":"orndorffgrant","id":5448265,"node_id":"MDQ6VXNlcjU0NDgyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5448265?v=4","gravatar_id":"","url":"https://api.github.com/users/orndorffgrant","html_url":"https://github.com/orndorffgrant","followers_url":"https://api.github.com/users/orndorffgrant/followers","following_url":"https://api.github.com/users/orndorffgrant/following{/other_user}","gists_url":"https://api.github.com/users/orndorffgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/orndorffgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orndorffgrant/subscriptions","organizations_url":"https://api.github.com/users/orndorffgrant/orgs","repos_url":"https://api.github.com/users/orndorffgrant/repos","events_url":"https://api.github.com/users/orndorffgrant/events{/privacy}","received_events_url":"https://api.github.com/users/orndorffgrant/received_events","type":"User","site_admin":false},"body":"This removes the ability for a user1 to revoke the access another user2 has to a log if user1 doesn't own that log\r\n\r\nView and test https://github.com/amida-tech/orange-ignite/pull/165 to test this feature.","created_at":"2018-08-03T18:09:59Z","updated_at":"2018-09-05T18:45:05Z","closed_at":"2018-09-05T18:45:05Z","merged_at":"2018-09-05T18:45:05Z","merge_commit_sha":"043d64d6c6846199caf519cf3676b953b1dcbefc","assignee":{"login":"orndorffgrant","id":5448265,"node_id":"MDQ6VXNlcjU0NDgyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5448265?v=4","gravatar_id":"","url":"https://api.github.com/users/orndorffgrant","html_url":"https://github.com/orndorffgrant","followers_url":"https://api.github.com/users/orndorffgrant/followers","following_url":"https://api.github.com/users/orndorffgrant/following{/other_user}","gists_url":"https://api.github.com/users/orndorffgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/orndorffgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orndorffgrant/subscriptions","organizations_url":"https://api.github.com/users/orndorffgrant/orgs","repos_url":"https://api.github.com/users/orndorffgrant/repos","events_url":"https://api.github.com/users/orndorffgrant/events{/privacy}","received_events_url":"https://api.github.com/users/orndorffgrant/received_events","type":"User","site_admin":false},"assignees":[{"login":"orndorffgrant","id":5448265,"node_id":"MDQ6VXNlcjU0NDgyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5448265?v=4","gravatar_id":"","url":"https://api.github.com/users/orndorffgrant","html_url":"https://github.com/orndorffgrant","followers_url":"https://api.github.com/users/orndorffgrant/followers","following_url":"https://api.github.com/users/orndorffgrant/following{/other_user}","gists_url":"https://api.github.com/users/orndorffgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/orndorffgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orndorffgrant/subscriptions","organizations_url":"https://api.github.com/users/orndorffgrant/orgs","repos_url":"https://api.github.com/users/orndorffgrant/repos","events_url":"https://api.github.com/users/orndorffgrant/events{/privacy}","received_events_url":"https://api.github.com/users/orndorffgrant/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"B3rry","id":5562161,"node_id":"MDQ6VXNlcjU1NjIxNjE=","avatar_url":"https://avatars3.githubusercontent.com/u/5562161?v=4","gravatar_id":"","url":"https://api.github.com/users/B3rry","html_url":"https://github.com/B3rry","followers_url":"https://api.github.com/users/B3rry/followers","following_url":"https://api.github.com/users/B3rry/following{/other_user}","gists_url":"https://api.github.com/users/B3rry/gists{/gist_id}","starred_url":"https://api.github.com/users/B3rry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B3rry/subscriptions","organizations_url":"https://api.github.com/users/B3rry/orgs","repos_url":"https://api.github.com/users/B3rry/repos","events_url":"https://api.github.com/users/B3rry/events{/privacy}","received_events_url":"https://api.github.com/users/B3rry/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":906487502,"node_id":"MDU6TGFiZWw5MDY0ODc1MDI=","url":"https://api.github.com/repos/amida-tech/orange-api/labels/ready%20for%20review","name":"ready for review","color":"a5f99f","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/amida-tech/orange-api/pulls/92/commits","review_comments_url":"https://api.github.com/repos/amida-tech/orange-api/pulls/92/comments","review_comment_url":"https://api.github.com/repos/amida-tech/orange-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amida-tech/orange-api/issues/92/comments","statuses_url":"https://api.github.com/repos/amida-tech/orange-api/statuses/08120fb3ecbbc18bb4bd8baf55c4a1fc5a8169b5","head":{"label":"amida-tech:bug/orange-555-restrict-revoke-access","ref":"bug/orange-555-restrict-revoke-access","sha":"08120fb3ecbbc18bb4bd8baf55c4a1fc5a8169b5","user":{"login":"amida-tech","id":4925200,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjUyMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/4925200?v=4","gravatar_id":"","url":"https://api.github.com/users/amida-tech","html_url":"https://github.com/amida-tech","followers_url":"https://api.github.com/users/amida-tech/followers","following_url":"https://api.github.com/users/amida-tech/following{/other_user}","gists_url":"https://api.github.com/users/amida-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/amida-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amida-tech/subscriptions","organizations_url":"https://api.github.com/users/amida-tech/orgs","repos_url":"https://api.github.com/users/amida-tech/repos","events_url":"https://api.github.com/users/amida-tech/events{/privacy}","received_events_url":"https://api.github.com/users/amida-tech/received_events","type":"Organization","site_admin":false},"repo":{"id":36481525,"node_id":"MDEwOlJlcG9zaXRvcnkzNjQ4MTUyNQ==","name":"orange-api","full_name":"amida-tech/orange-api","owner":{"login":"amida-tech","id":4925200,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjUyMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/4925200?v=4","gravatar_id":"","url":"https://api.github.com/users/amida-tech","html_url":"https://github.com/amida-tech","followers_url":"https://api.github.com/users/amida-tech/followers","following_url":"https://api.github.com/users/amida-tech/following{/other_user}","gists_url":"https://api.github.com/users/amida-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/amida-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amida-tech/subscriptions","organizations_url":"https://api.github.com/users/amida-tech/orgs","repos_url":"https://api.github.com/users/amida-tech/repos","events_url":"https://api.github.com/users/amida-tech/events{/privacy}","received_events_url":"https://api.github.com/users/amida-tech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amida-tech/orange-api","description":"API backend for Orange medication management app","fork":false,"url":"https://api.github.com/repos/amida-tech/orange-api","forks_url":"https://api.github.com/repos/amida-tech/orange-api/forks","keys_url":"https://api.github.com/repos/amida-tech/orange-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amida-tech/orange-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amida-tech/orange-api/teams","hooks_url":"https://api.github.com/repos/amida-tech/orange-api/hooks","issue_events_url":"https://api.github.com/repos/amida-tech/orange-api/issues/events{/number}","events_url":"https://api.github.com/repos/amida-tech/orange-api/events","assignees_url":"https://api.github.com/repos/amida-tech/orange-api/assignees{/user}","branches_url":"https://api.github.com/repos/amida-tech/orange-api/branches{/branch}","tags_url":"https://api.github.com/repos/amida-tech/orange-api/tags","blobs_url":"https://api.github.com/repos/amida-tech/orange-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amida-tech/orange-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amida-tech/orange-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/amida-tech/orange-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amida-tech/orange-api/statuses/{sha}","languages_url":"https://api.github.com/repos/amida-tech/orange-api/languages","stargazers_url":"https://api.github.com/repos/amida-tech/orange-api/stargazers","contributors_url":"https://api.github.com/repos/amida-tech/orange-api/contributors","subscribers_url":"https://api.github.com/repos/amida-tech/orange-api/subscribers","subscription_url":"https://api.github.com/repos/amida-tech/orange-api/subscription","commits_url":"https://api.github.com/repos/amida-tech/orange-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/amida-tech/orange-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/amida-tech/orange-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/amida-tech/orange-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/amida-tech/orange-api/contents/{+path}","compare_url":"https://api.github.com/repos/amida-tech/orange-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amida-tech/orange-api/merges","archive_url":"https://api.github.com/repos/amida-tech/orange-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amida-tech/orange-api/downloads","issues_url":"https://api.github.com/repos/amida-tech/orange-api/issues{/number}","pulls_url":"https://api.github.com/repos/amida-tech/orange-api/pulls{/number}","milestones_url":"https://api.github.com/repos/amida-tech/orange-api/milestones{/number}","notifications_url":"https://api.github.com/repos/amida-tech/orange-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amida-tech/orange-api/labels{/name}","releases_url":"https://api.github.com/repos/amida-tech/orange-api/releases{/id}","deployments_url":"https://api.github.com/repos/amida-tech/orange-api/deployments","created_at":"2015-05-29T03:57:43Z","updated_at":"2018-08-28T15:09:02Z","pushed_at":"2018-09-05T18:45:05Z","git_url":"git://github.com/amida-tech/orange-api.git","ssh_url":"git@github.com:amida-tech/orange-api.git","clone_url":"https://github.com/amida-tech/orange-api.git","svn_url":"https://github.com/amida-tech/orange-api","homepage":"","size":8799,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":4,"watchers":4,"default_branch":"develop"}},"base":{"label":"amida-tech:develop","ref":"develop","sha":"caf69dfe6a7f8fa668858bda865c7658d2a23a7f","user":{"login":"amida-tech","id":4925200,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjUyMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/4925200?v=4","gravatar_id":"","url":"https://api.github.com/users/amida-tech","html_url":"https://github.com/amida-tech","followers_url":"https://api.github.com/users/amida-tech/followers","following_url":"https://api.github.com/users/amida-tech/following{/other_user}","gists_url":"https://api.github.com/users/amida-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/amida-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amida-tech/subscriptions","organizations_url":"https://api.github.com/users/amida-tech/orgs","repos_url":"https://api.github.com/users/amida-tech/repos","events_url":"https://api.github.com/users/amida-tech/events{/privacy}","received_events_url":"https://api.github.com/users/amida-tech/received_events","type":"Organization","site_admin":false},"repo":{"id":36481525,"node_id":"MDEwOlJlcG9zaXRvcnkzNjQ4MTUyNQ==","name":"orange-api","full_name":"amida-tech/orange-api","owner":{"login":"amida-tech","id":4925200,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjUyMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/4925200?v=4","gravatar_id":"","url":"https://api.github.com/users/amida-tech","html_url":"https://github.com/amida-tech","followers_url":"https://api.github.com/users/amida-tech/followers","following_url":"https://api.github.com/users/amida-tech/following{/other_user}","gists_url":"https://api.github.com/users/amida-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/amida-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amida-tech/subscriptions","organizations_url":"https://api.github.com/users/amida-tech/orgs","repos_url":"https://api.github.com/users/amida-tech/repos","events_url":"https://api.github.com/users/amida-tech/events{/privacy}","received_events_url":"https://api.github.com/users/amida-tech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amida-tech/orange-api","description":"API backend for Orange medication management app","fork":false,"url":"https://api.github.com/repos/amida-tech/orange-api","forks_url":"https://api.github.com/repos/amida-tech/orange-api/forks","keys_url":"https://api.github.com/repos/amida-tech/orange-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amida-tech/orange-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amida-tech/orange-api/teams","hooks_url":"https://api.github.com/repos/amida-tech/orange-api/hooks","issue_events_url":"https://api.github.com/repos/amida-tech/orange-api/issues/events{/number}","events_url":"https://api.github.com/repos/amida-tech/orange-api/events","assignees_url":"https://api.github.com/repos/amida-tech/orange-api/assignees{/user}","branches_url":"https://api.github.com/repos/amida-tech/orange-api/branches{/branch}","tags_url":"https://api.github.com/repos/amida-tech/orange-api/tags","blobs_url":"https://api.github.com/repos/amida-tech/orange-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amida-tech/orange-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amida-tech/orange-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/amida-tech/orange-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amida-tech/orange-api/statuses/{sha}","languages_url":"https://api.github.com/repos/amida-tech/orange-api/languages","stargazers_url":"https://api.github.com/repos/amida-tech/orange-api/stargazers","contributors_url":"https://api.github.com/repos/amida-tech/orange-api/contributors","subscribers_url":"https://api.github.com/repos/amida-tech/orange-api/subscribers","subscription_url":"https://api.github.com/repos/amida-tech/orange-api/subscription","commits_url":"https://api.github.com/repos/amida-tech/orange-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/amida-tech/orange-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/amida-tech/orange-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/amida-tech/orange-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/amida-tech/orange-api/contents/{+path}","compare_url":"https://api.github.com/repos/amida-tech/orange-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amida-tech/orange-api/merges","archive_url":"https://api.github.com/repos/amida-tech/orange-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amida-tech/orange-api/downloads","issues_url":"https://api.github.com/repos/amida-tech/orange-api/issues{/number}","pulls_url":"https://api.github.com/repos/amida-tech/orange-api/pulls{/number}","milestones_url":"https://api.github.com/repos/amida-tech/orange-api/milestones{/number}","notifications_url":"https://api.github.com/repos/amida-tech/orange-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amida-tech/orange-api/labels{/name}","releases_url":"https://api.github.com/repos/amida-tech/orange-api/releases{/id}","deployments_url":"https://api.github.com/repos/amida-tech/orange-api/deployments","created_at":"2015-05-29T03:57:43Z","updated_at":"2018-08-28T15:09:02Z","pushed_at":"2018-09-05T18:45:05Z","git_url":"git://github.com/amida-tech/orange-api.git","ssh_url":"git@github.com:amida-tech/orange-api.git","clone_url":"https://github.com/amida-tech/orange-api.git","svn_url":"https://github.com/amida-tech/orange-api","homepage":"","size":8799,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":4,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/amida-tech/orange-api/pulls/92"},"html":{"href":"https://github.com/amida-tech/orange-api/pull/92"},"issue":{"href":"https://api.github.com/repos/amida-tech/orange-api/issues/92"},"comments":{"href":"https://api.github.com/repos/amida-tech/orange-api/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/amida-tech/orange-api/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/amida-tech/orange-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amida-tech/orange-api/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/amida-tech/orange-api/statuses/08120fb3ecbbc18bb4bd8baf55c4a1fc5a8169b5"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"orndorffgrant","id":5448265,"node_id":"MDQ6VXNlcjU0NDgyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5448265?v=4","gravatar_id":"","url":"https://api.github.com/users/orndorffgrant","html_url":"https://github.com/orndorffgrant","followers_url":"https://api.github.com/users/orndorffgrant/followers","following_url":"https://api.github.com/users/orndorffgrant/following{/other_user}","gists_url":"https://api.github.com/users/orndorffgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/orndorffgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orndorffgrant/subscriptions","organizations_url":"https://api.github.com/users/orndorffgrant/orgs","repos_url":"https://api.github.com/users/orndorffgrant/repos","events_url":"https://api.github.com/users/orndorffgrant/events{/privacy}","received_events_url":"https://api.github.com/users/orndorffgrant/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"maintainer_can_modify":false,"commits":2,"additions":21,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"orndorffgrant"}}