{"action":"created","issue":{"url":"https://api.github.com/repos/samvera/hyrax/issues/3338","repository_url":"https://api.github.com/repos/samvera/hyrax","labels_url":"https://api.github.com/repos/samvera/hyrax/issues/3338/labels{/name}","comments_url":"https://api.github.com/repos/samvera/hyrax/issues/3338/comments","events_url":"https://api.github.com/repos/samvera/hyrax/issues/3338/events","html_url":"https://github.com/samvera/hyrax/pull/3338","id":371704292,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MDkyNDkz","number":3338,"title":"Allow readonly works to be added to collections","user":{"login":"elrayle","id":6855473,"node_id":"MDQ6VXNlcjY4NTU0NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/6855473?v=4","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false},"labels":[{"id":503705298,"node_id":"MDU6TGFiZWw1MDM3MDUyOTg=","url":"https://api.github.com/repos/samvera/hyrax/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"elrayle","id":6855473,"node_id":"MDQ6VXNlcjY4NTU0NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/6855473?v=4","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false},"assignees":[{"login":"elrayle","id":6855473,"node_id":"MDQ6VXNlcjY4NTU0NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/6855473?v=4","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-18T20:42:10Z","updated_at":"2018-10-21T13:32:28Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/samvera/hyrax/pulls/3338","html_url":"https://github.com/samvera/hyrax/pull/3338","diff_url":"https://github.com/samvera/hyrax/pull/3338.diff","patch_url":"https://github.com/samvera/hyrax/pull/3338.patch"},"body":"Fixes #3323\r\n\r\nAllow logged in users to add read-only works to collections.  This supports the exhibit building use case as described in issue #3323.\r\n\r\n## Backward Compatibility Analysis\r\n\r\n### Public API\r\n* 0 public methods changed\r\n* 1 public method added to work_show_presenter\r\n\r\n### UI Behavior\r\nimpacts work show page only\r\n* behavior for editors of the work is unchanged\r\n* behavior for viewers of the work - now will show the Add to Collection button if the user can deposit to at least one collection or can create a collection\r\n\r\n## Guidance for testing, such as acceptance criteria or new user interface behaviors:\r\n* As editor of the work, see Add to Collection button.\r\n* As a logged in viewer of the work, see Add to Collection button IFF the viewer can deposit in at least one collection OR can create a new collection\r\n* As a non-logged in user viewing the work, do NOT see the Add to Collection button\r\n\r\n@samvera/hyrax-code-reviewers\r\n"},"comment":{"url":"https://api.github.com/repos/samvera/hyrax/issues/comments/431669088","html_url":"https://github.com/samvera/hyrax/pull/3338#issuecomment-431669088","issue_url":"https://api.github.com/repos/samvera/hyrax/issues/3338","id":431669088,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTY2OTA4OA==","user":{"login":"elrayle","id":6855473,"node_id":"MDQ6VXNlcjY4NTU0NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/6855473?v=4","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false},"created_at":"2018-10-21T13:32:28Z","updated_at":"2018-10-21T13:32:28Z","author_association":"CONTRIBUTOR","body":"@no-reply Thanks for the quick review.  Requested changes have been applied.  All tests passing.\r\n"}}
{"actor":{"display_login":"elrayle"}}