{"action":"opened","number":627,"pull_request":{"url":"https://api.github.com/repos/ucsdlib/damspas/pulls/627","id":275878264,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc1ODc4MjY0","html_url":"https://github.com/ucsdlib/damspas/pull/627","diff_url":"https://github.com/ucsdlib/damspas/pull/627.diff","patch_url":"https://github.com/ucsdlib/damspas/pull/627.patch","issue_url":"https://api.github.com/repos/ucsdlib/damspas/issues/627","number":627,"state":"open","locked":false,"title":"Presist User Level Permissions","user":{"login":"orangewolf","id":1054448,"node_id":"MDQ6VXNlcjEwNTQ0NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1054448?v=4","gravatar_id":"","url":"https://api.github.com/users/orangewolf","html_url":"https://github.com/orangewolf","followers_url":"https://api.github.com/users/orangewolf/followers","following_url":"https://api.github.com/users/orangewolf/following{/other_user}","gists_url":"https://api.github.com/users/orangewolf/gists{/gist_id}","starred_url":"https://api.github.com/users/orangewolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangewolf/subscriptions","organizations_url":"https://api.github.com/users/orangewolf/orgs","repos_url":"https://api.github.com/users/orangewolf/repos","events_url":"https://api.github.com/users/orangewolf/events{/privacy}","received_events_url":"https://api.github.com/users/orangewolf/received_events","type":"User","site_admin":false},"body":"Added initialize and save hooks to set the user level permissions based on the work authorizations table. This works around the fact that user level permissions are currently not persisted in the dams system\r\n\r\n@mcritchlow the big thing I think to focus on here is to check if DamsObject is the right spot for this work? Is that the common denominator object?","created_at":"2019-05-03T23:44:55Z","updated_at":"2019-05-03T23:44:55Z","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/ucsdlib/damspas/pulls/627/commits","review_comments_url":"https://api.github.com/repos/ucsdlib/damspas/pulls/627/comments","review_comment_url":"https://api.github.com/repos/ucsdlib/damspas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucsdlib/damspas/issues/627/comments","statuses_url":"https://api.github.com/repos/ucsdlib/damspas/statuses/c7b253b684a76a7e370409fed39beaf07efbbbd8","head":{"label":"notch8:vrr-revenge_of_permissions","ref":"vrr-revenge_of_permissions","sha":"c7b253b684a76a7e370409fed39beaf07efbbbd8","user":{"login":"notch8","id":2084,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2084?v=4","gravatar_id":"","url":"https://api.github.com/users/notch8","html_url":"https://github.com/notch8","followers_url":"https://api.github.com/users/notch8/followers","following_url":"https://api.github.com/users/notch8/following{/other_user}","gists_url":"https://api.github.com/users/notch8/gists{/gist_id}","starred_url":"https://api.github.com/users/notch8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notch8/subscriptions","organizations_url":"https://api.github.com/users/notch8/orgs","repos_url":"https://api.github.com/users/notch8/repos","events_url":"https://api.github.com/users/notch8/events{/privacy}","received_events_url":"https://api.github.com/users/notch8/received_events","type":"Organization","site_admin":false},"repo":{"id":149363416,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkzNjM0MTY=","name":"damspas","full_name":"notch8/damspas","private":false,"owner":{"login":"notch8","id":2084,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2084?v=4","gravatar_id":"","url":"https://api.github.com/users/notch8","html_url":"https://github.com/notch8","followers_url":"https://api.github.com/users/notch8/followers","following_url":"https://api.github.com/users/notch8/following{/other_user}","gists_url":"https://api.github.com/users/notch8/gists{/gist_id}","starred_url":"https://api.github.com/users/notch8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notch8/subscriptions","organizations_url":"https://api.github.com/users/notch8/orgs","repos_url":"https://api.github.com/users/notch8/repos","events_url":"https://api.github.com/users/notch8/events{/privacy}","received_events_url":"https://api.github.com/users/notch8/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/notch8/damspas","description":"UC San Diego DAMS Hydra Head","fork":true,"url":"https://api.github.com/repos/notch8/damspas","forks_url":"https://api.github.com/repos/notch8/damspas/forks","keys_url":"https://api.github.com/repos/notch8/damspas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/notch8/damspas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/notch8/damspas/teams","hooks_url":"https://api.github.com/repos/notch8/damspas/hooks","issue_events_url":"https://api.github.com/repos/notch8/damspas/issues/events{/number}","events_url":"https://api.github.com/repos/notch8/damspas/events","assignees_url":"https://api.github.com/repos/notch8/damspas/assignees{/user}","branches_url":"https://api.github.com/repos/notch8/damspas/branches{/branch}","tags_url":"https://api.github.com/repos/notch8/damspas/tags","blobs_url":"https://api.github.com/repos/notch8/damspas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/notch8/damspas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/notch8/damspas/git/refs{/sha}","trees_url":"https://api.github.com/repos/notch8/damspas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/notch8/damspas/statuses/{sha}","languages_url":"https://api.github.com/repos/notch8/damspas/languages","stargazers_url":"https://api.github.com/repos/notch8/damspas/stargazers","contributors_url":"https://api.github.com/repos/notch8/damspas/contributors","subscribers_url":"https://api.github.com/repos/notch8/damspas/subscribers","subscription_url":"https://api.github.com/repos/notch8/damspas/subscription","commits_url":"https://api.github.com/repos/notch8/damspas/commits{/sha}","git_commits_url":"https://api.github.com/repos/notch8/damspas/git/commits{/sha}","comments_url":"https://api.github.com/repos/notch8/damspas/comments{/number}","issue_comment_url":"https://api.github.com/repos/notch8/damspas/issues/comments{/number}","contents_url":"https://api.github.com/repos/notch8/damspas/contents/{+path}","compare_url":"https://api.github.com/repos/notch8/damspas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/notch8/damspas/merges","archive_url":"https://api.github.com/repos/notch8/damspas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/notch8/damspas/downloads","issues_url":"https://api.github.com/repos/notch8/damspas/issues{/number}","pulls_url":"https://api.github.com/repos/notch8/damspas/pulls{/number}","milestones_url":"https://api.github.com/repos/notch8/damspas/milestones{/number}","notifications_url":"https://api.github.com/repos/notch8/damspas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/notch8/damspas/labels{/name}","releases_url":"https://api.github.com/repos/notch8/damspas/releases{/id}","deployments_url":"https://api.github.com/repos/notch8/damspas/deployments","created_at":"2018-09-18T23:16:49Z","updated_at":"2018-12-18T02:05:42Z","pushed_at":"2019-05-03T23:42:25Z","git_url":"git://github.com/notch8/damspas.git","ssh_url":"git@github.com:notch8/damspas.git","clone_url":"https://github.com/notch8/damspas.git","svn_url":"https://github.com/notch8/damspas","homepage":null,"size":36635,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ucsdlib:feature/vrr","ref":"feature/vrr","sha":"57f4eda20181e71b6183f7ad32725cd02fd6a43e","user":{"login":"ucsdlib","id":2387725,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODc3MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2387725?v=4","gravatar_id":"","url":"https://api.github.com/users/ucsdlib","html_url":"https://github.com/ucsdlib","followers_url":"https://api.github.com/users/ucsdlib/followers","following_url":"https://api.github.com/users/ucsdlib/following{/other_user}","gists_url":"https://api.github.com/users/ucsdlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsdlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsdlib/subscriptions","organizations_url":"https://api.github.com/users/ucsdlib/orgs","repos_url":"https://api.github.com/users/ucsdlib/repos","events_url":"https://api.github.com/users/ucsdlib/events{/privacy}","received_events_url":"https://api.github.com/users/ucsdlib/received_events","type":"Organization","site_admin":false},"repo":{"id":17287926,"node_id":"MDEwOlJlcG9zaXRvcnkxNzI4NzkyNg==","name":"damspas","full_name":"ucsdlib/damspas","private":false,"owner":{"login":"ucsdlib","id":2387725,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODc3MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2387725?v=4","gravatar_id":"","url":"https://api.github.com/users/ucsdlib","html_url":"https://github.com/ucsdlib","followers_url":"https://api.github.com/users/ucsdlib/followers","following_url":"https://api.github.com/users/ucsdlib/following{/other_user}","gists_url":"https://api.github.com/users/ucsdlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsdlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsdlib/subscriptions","organizations_url":"https://api.github.com/users/ucsdlib/orgs","repos_url":"https://api.github.com/users/ucsdlib/repos","events_url":"https://api.github.com/users/ucsdlib/events{/privacy}","received_events_url":"https://api.github.com/users/ucsdlib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ucsdlib/damspas","description":"UC San Diego DAMS Hydra Head","fork":false,"url":"https://api.github.com/repos/ucsdlib/damspas","forks_url":"https://api.github.com/repos/ucsdlib/damspas/forks","keys_url":"https://api.github.com/repos/ucsdlib/damspas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucsdlib/damspas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucsdlib/damspas/teams","hooks_url":"https://api.github.com/repos/ucsdlib/damspas/hooks","issue_events_url":"https://api.github.com/repos/ucsdlib/damspas/issues/events{/number}","events_url":"https://api.github.com/repos/ucsdlib/damspas/events","assignees_url":"https://api.github.com/repos/ucsdlib/damspas/assignees{/user}","branches_url":"https://api.github.com/repos/ucsdlib/damspas/branches{/branch}","tags_url":"https://api.github.com/repos/ucsdlib/damspas/tags","blobs_url":"https://api.github.com/repos/ucsdlib/damspas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucsdlib/damspas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucsdlib/damspas/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucsdlib/damspas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucsdlib/damspas/statuses/{sha}","languages_url":"https://api.github.com/repos/ucsdlib/damspas/languages","stargazers_url":"https://api.github.com/repos/ucsdlib/damspas/stargazers","contributors_url":"https://api.github.com/repos/ucsdlib/damspas/contributors","subscribers_url":"https://api.github.com/repos/ucsdlib/damspas/subscribers","subscription_url":"https://api.github.com/repos/ucsdlib/damspas/subscription","commits_url":"https://api.github.com/repos/ucsdlib/damspas/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucsdlib/damspas/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucsdlib/damspas/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucsdlib/damspas/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucsdlib/damspas/contents/{+path}","compare_url":"https://api.github.com/repos/ucsdlib/damspas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucsdlib/damspas/merges","archive_url":"https://api.github.com/repos/ucsdlib/damspas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucsdlib/damspas/downloads","issues_url":"https://api.github.com/repos/ucsdlib/damspas/issues{/number}","pulls_url":"https://api.github.com/repos/ucsdlib/damspas/pulls{/number}","milestones_url":"https://api.github.com/repos/ucsdlib/damspas/milestones{/number}","notifications_url":"https://api.github.com/repos/ucsdlib/damspas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucsdlib/damspas/labels{/name}","releases_url":"https://api.github.com/repos/ucsdlib/damspas/releases{/id}","deployments_url":"https://api.github.com/repos/ucsdlib/damspas/deployments","created_at":"2014-02-28T14:07:19Z","updated_at":"2019-01-28T21:27:29Z","pushed_at":"2019-04-29T09:24:29Z","git_url":"git://github.com/ucsdlib/damspas.git","ssh_url":"git@github.com:ucsdlib/damspas.git","clone_url":"https://github.com/ucsdlib/damspas.git","svn_url":"https://github.com/ucsdlib/damspas","homepage":null,"size":36634,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":35,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":35,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/627"},"html":{"href":"https://github.com/ucsdlib/damspas/pull/627"},"issue":{"href":"https://api.github.com/repos/ucsdlib/damspas/issues/627"},"comments":{"href":"https://api.github.com/repos/ucsdlib/damspas/issues/627/comments"},"review_comments":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/627/comments"},"review_comment":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/627/commits"},"statuses":{"href":"https://api.github.com/repos/ucsdlib/damspas/statuses/c7b253b684a76a7e370409fed39beaf07efbbbd8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":109,"deletions":35,"changed_files":3}}
{"actor":{"display_login":"orangewolf"}}