{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/2876","repository_url":"https://api.github.com/repos/projecthydra/sufia","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/2876/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/2876/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/2876/events","html_url":"https://github.com/projecthydra/sufia/pull/2876","id":188638282,"number":2876,"title":"Create work, selecting admin set restricts visibility","user":{"login":"tdonohue","id":483997,"avatar_url":"https://avatars.githubusercontent.com/u/483997?v=3","gravatar_id":"","url":"https://api.github.com/users/tdonohue","html_url":"https://github.com/tdonohue","followers_url":"https://api.github.com/users/tdonohue/followers","following_url":"https://api.github.com/users/tdonohue/following{/other_user}","gists_url":"https://api.github.com/users/tdonohue/gists{/gist_id}","starred_url":"https://api.github.com/users/tdonohue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdonohue/subscriptions","organizations_url":"https://api.github.com/users/tdonohue/orgs","repos_url":"https://api.github.com/users/tdonohue/repos","events_url":"https://api.github.com/users/tdonohue/events{/privacy}","received_events_url":"https://api.github.com/users/tdonohue/received_events","type":"User","site_admin":false},"labels":[{"id":178718266,"url":"https://api.github.com/repos/projecthydra/sufia/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":188993249,"url":"https://api.github.com/repos/projecthydra/sufia/labels/ready%20for%20review","name":"ready for review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T22:40:15Z","updated_at":"2016-11-14T21:06:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/2876","html_url":"https://github.com/projecthydra/sufia/pull/2876","diff_url":"https://github.com/projecthydra/sufia/pull/2876.diff","patch_url":"https://github.com/projecthydra/sufia/pull/2876.patch"},"body":"Fixes https://github.com/projecthydra-labs/hyku/issues/422\r\n\r\nWhen creating a new work, selecting an AdminSet will now automatically select the required visibility settings specified by that AdminSet (if any).  Any incompatible visibility settings are disabled.\r\n\r\nAlso fixes a small bug introduced in updating visibility of an AdminSet. See https://github.com/projecthydra/sufia/pull/2876/commits/b2201b8cc58483598c8e6f31ec9e28e5cd48898d for this bug fix and corresponding test.\r\n\r\n![screenshot](https://cloud.githubusercontent.com/assets/483997/20197241/06f3f260-a764-11e6-8f63-346162a0d010.png)\r\n\r\n@projecthydra/sufia-code-reviewers "},"comment":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/comments/260462604","html_url":"https://github.com/projecthydra/sufia/pull/2876#issuecomment-260462604","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/2876","id":260462604,"user":{"login":"tdonohue","id":483997,"avatar_url":"https://avatars.githubusercontent.com/u/483997?v=3","gravatar_id":"","url":"https://api.github.com/users/tdonohue","html_url":"https://github.com/tdonohue","followers_url":"https://api.github.com/users/tdonohue/followers","following_url":"https://api.github.com/users/tdonohue/following{/other_user}","gists_url":"https://api.github.com/users/tdonohue/gists{/gist_id}","starred_url":"https://api.github.com/users/tdonohue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdonohue/subscriptions","organizations_url":"https://api.github.com/users/tdonohue/orgs","repos_url":"https://api.github.com/users/tdonohue/repos","events_url":"https://api.github.com/users/tdonohue/events{/privacy}","received_events_url":"https://api.github.com/users/tdonohue/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T21:06:39Z","updated_at":"2016-11-14T21:06:39Z","body":"@jcoyne : all requested updates have been made. Thanks for the review!"}}
{"actor":{"display_login":"tdonohue"}}