{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/comments/89910782","pull_request_review_id":10439990,"id":89910782,"diff_hunk":"@@ -24,6 +24,10 @@\n                   <%= f.input :thumbnail_id, collection: @form.select_files %>\n                 <% end %>\n \n+                <% if @form.persisted? %>","path":"app/views/sufia/admin/admin_sets/_form.html.erb","position":4,"original_position":4,"commit_id":"8950824066aa0a031cbf2176db52644019741f2e","original_commit_id":"44c12deb8733651cc30da8466eeb619d763dfade","user":{"login":"scholarworks","id":10953399,"avatar_url":"https://avatars.githubusercontent.com/u/10953399?v=3","gravatar_id":"","url":"https://api.github.com/users/scholarworks","html_url":"https://github.com/scholarworks","followers_url":"https://api.github.com/users/scholarworks/followers","following_url":"https://api.github.com/users/scholarworks/following{/other_user}","gists_url":"https://api.github.com/users/scholarworks/gists{/gist_id}","starred_url":"https://api.github.com/users/scholarworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholarworks/subscriptions","organizations_url":"https://api.github.com/users/scholarworks/orgs","repos_url":"https://api.github.com/users/scholarworks/repos","events_url":"https://api.github.com/users/scholarworks/events{/privacy}","received_events_url":"https://api.github.com/users/scholarworks/received_events","type":"User","site_admin":false},"body":"Ok - Will work on that. The problem I was getting before was the the permission template wasn't created, so the workflow_name was getting lost somewhere. I'll see what I can do.","created_at":"2016-11-28T23:34:16Z","updated_at":"2016-11-28T23:34:16Z","html_url":"https://github.com/projecthydra/sufia/pull/2924#discussion_r89910782","pull_request_url":"https://api.github.com/repos/projecthydra/sufia/pulls/2924","_links":{"self":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/comments/89910782"},"html":{"href":"https://github.com/projecthydra/sufia/pull/2924#discussion_r89910782"},"pull_request":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/2924"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/2924","id":94486602,"html_url":"https://github.com/projecthydra/sufia/pull/2924","diff_url":"https://github.com/projecthydra/sufia/pull/2924.diff","patch_url":"https://github.com/projecthydra/sufia/pull/2924.patch","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/2924","number":2924,"state":"open","locked":false,"title":"[WIP] Assign workflow name to PermissionTemplate for AdminSet","user":{"login":"scholarworks","id":10953399,"avatar_url":"https://avatars.githubusercontent.com/u/10953399?v=3","gravatar_id":"","url":"https://api.github.com/users/scholarworks","html_url":"https://github.com/scholarworks","followers_url":"https://api.github.com/users/scholarworks/followers","following_url":"https://api.github.com/users/scholarworks/following{/other_user}","gists_url":"https://api.github.com/users/scholarworks/gists{/gist_id}","starred_url":"https://api.github.com/users/scholarworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholarworks/subscriptions","organizations_url":"https://api.github.com/users/scholarworks/orgs","repos_url":"https://api.github.com/users/scholarworks/repos","events_url":"https://api.github.com/users/scholarworks/events{/privacy}","received_events_url":"https://api.github.com/users/scholarworks/received_events","type":"User","site_admin":false},"body":"Refs #2844, #2877\r\n\r\nThis is work in progress, opening for comment. The WorkflowName is now set in the PermissionTemplate for an AdminSet when saved from the \"Edit\" tab of an AdminSet.\r\n\r\n## Questions/Comments/Concerns ##\r\n\r\n* The PermissionTemplate is \"reset\" when clicking the \"Edit\" button for an admin set. Meaning that all of the values (visibility, etc) are reset to nil when visiting the Edit page regardless of any edits being made.  (Issue: #2923)\r\n\r\n* Need persist selected workflow_name when revisting edit page (requires fix to Issue #2923)\r\n\r\n* Need to check if there are any loaded workflows before displaying the select list.\r\n\r\nChanges proposed in this pull request:\r\n* Adds a workflow selection list to the AdminSet edit form\r\n\r\n@projecthydra/sufia-code-reviewers\r\n","created_at":"2016-11-19T16:26:56Z","updated_at":"2016-11-28T23:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad295f763263b911f170681dd6a289361463a837","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra/sufia/pulls/2924/commits","review_comments_url":"https://api.github.com/repos/projecthydra/sufia/pulls/2924/comments","review_comment_url":"https://api.github.com/repos/projecthydra/sufia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/2924/comments","statuses_url":"https://api.github.com/repos/projecthydra/sufia/statuses/8950824066aa0a031cbf2176db52644019741f2e","head":{"label":"scholarworks:adminset_workflows","ref":"adminset_workflows","sha":"8950824066aa0a031cbf2176db52644019741f2e","user":{"login":"scholarworks","id":10953399,"avatar_url":"https://avatars.githubusercontent.com/u/10953399?v=3","gravatar_id":"","url":"https://api.github.com/users/scholarworks","html_url":"https://github.com/scholarworks","followers_url":"https://api.github.com/users/scholarworks/followers","following_url":"https://api.github.com/users/scholarworks/following{/other_user}","gists_url":"https://api.github.com/users/scholarworks/gists{/gist_id}","starred_url":"https://api.github.com/users/scholarworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholarworks/subscriptions","organizations_url":"https://api.github.com/users/scholarworks/orgs","repos_url":"https://api.github.com/users/scholarworks/repos","events_url":"https://api.github.com/users/scholarworks/events{/privacy}","received_events_url":"https://api.github.com/users/scholarworks/received_events","type":"User","site_admin":false},"repo":{"id":72237913,"name":"sufia","full_name":"scholarworks/sufia","owner":{"login":"scholarworks","id":10953399,"avatar_url":"https://avatars.githubusercontent.com/u/10953399?v=3","gravatar_id":"","url":"https://api.github.com/users/scholarworks","html_url":"https://github.com/scholarworks","followers_url":"https://api.github.com/users/scholarworks/followers","following_url":"https://api.github.com/users/scholarworks/following{/other_user}","gists_url":"https://api.github.com/users/scholarworks/gists{/gist_id}","starred_url":"https://api.github.com/users/scholarworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholarworks/subscriptions","organizations_url":"https://api.github.com/users/scholarworks/orgs","repos_url":"https://api.github.com/users/scholarworks/repos","events_url":"https://api.github.com/users/scholarworks/events{/privacy}","received_events_url":"https://api.github.com/users/scholarworks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scholarworks/sufia","description":"Sufia: a fully featured, flexible Hydra repository front-end.","fork":true,"url":"https://api.github.com/repos/scholarworks/sufia","forks_url":"https://api.github.com/repos/scholarworks/sufia/forks","keys_url":"https://api.github.com/repos/scholarworks/sufia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scholarworks/sufia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scholarworks/sufia/teams","hooks_url":"https://api.github.com/repos/scholarworks/sufia/hooks","issue_events_url":"https://api.github.com/repos/scholarworks/sufia/issues/events{/number}","events_url":"https://api.github.com/repos/scholarworks/sufia/events","assignees_url":"https://api.github.com/repos/scholarworks/sufia/assignees{/user}","branches_url":"https://api.github.com/repos/scholarworks/sufia/branches{/branch}","tags_url":"https://api.github.com/repos/scholarworks/sufia/tags","blobs_url":"https://api.github.com/repos/scholarworks/sufia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scholarworks/sufia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scholarworks/sufia/git/refs{/sha}","trees_url":"https://api.github.com/repos/scholarworks/sufia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scholarworks/sufia/statuses/{sha}","languages_url":"https://api.github.com/repos/scholarworks/sufia/languages","stargazers_url":"https://api.github.com/repos/scholarworks/sufia/stargazers","contributors_url":"https://api.github.com/repos/scholarworks/sufia/contributors","subscribers_url":"https://api.github.com/repos/scholarworks/sufia/subscribers","subscription_url":"https://api.github.com/repos/scholarworks/sufia/subscription","commits_url":"https://api.github.com/repos/scholarworks/sufia/commits{/sha}","git_commits_url":"https://api.github.com/repos/scholarworks/sufia/git/commits{/sha}","comments_url":"https://api.github.com/repos/scholarworks/sufia/comments{/number}","issue_comment_url":"https://api.github.com/repos/scholarworks/sufia/issues/comments{/number}","contents_url":"https://api.github.com/repos/scholarworks/sufia/contents/{+path}","compare_url":"https://api.github.com/repos/scholarworks/sufia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scholarworks/sufia/merges","archive_url":"https://api.github.com/repos/scholarworks/sufia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scholarworks/sufia/downloads","issues_url":"https://api.github.com/repos/scholarworks/sufia/issues{/number}","pulls_url":"https://api.github.com/repos/scholarworks/sufia/pulls{/number}","milestones_url":"https://api.github.com/repos/scholarworks/sufia/milestones{/number}","notifications_url":"https://api.github.com/repos/scholarworks/sufia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scholarworks/sufia/labels{/name}","releases_url":"https://api.github.com/repos/scholarworks/sufia/releases{/id}","deployments_url":"https://api.github.com/repos/scholarworks/sufia/deployments","created_at":"2016-10-28T19:57:51Z","updated_at":"2016-10-28T19:57:53Z","pushed_at":"2016-11-28T23:32:50Z","git_url":"git://github.com/scholarworks/sufia.git","ssh_url":"git@github.com:scholarworks/sufia.git","clone_url":"https://github.com/scholarworks/sufia.git","svn_url":"https://github.com/scholarworks/sufia","homepage":"http://sufia.io/","size":56552,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projecthydra:master","ref":"master","sha":"c801ba5e62a7979633b8683153f19c650b1ced2e","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":7653178,"name":"sufia","full_name":"projecthydra/sufia","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/sufia","description":"Sufia: a fully featured, flexible Hydra repository front-end.","fork":false,"url":"https://api.github.com/repos/projecthydra/sufia","forks_url":"https://api.github.com/repos/projecthydra/sufia/forks","keys_url":"https://api.github.com/repos/projecthydra/sufia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/sufia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/sufia/teams","hooks_url":"https://api.github.com/repos/projecthydra/sufia/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/sufia/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/sufia/events","assignees_url":"https://api.github.com/repos/projecthydra/sufia/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/sufia/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/sufia/tags","blobs_url":"https://api.github.com/repos/projecthydra/sufia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/sufia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/sufia/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/sufia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/sufia/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/sufia/languages","stargazers_url":"https://api.github.com/repos/projecthydra/sufia/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/sufia/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/sufia/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/sufia/subscription","commits_url":"https://api.github.com/repos/projecthydra/sufia/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/sufia/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/sufia/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/sufia/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/sufia/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/sufia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/sufia/merges","archive_url":"https://api.github.com/repos/projecthydra/sufia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/sufia/downloads","issues_url":"https://api.github.com/repos/projecthydra/sufia/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/sufia/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/sufia/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/sufia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/sufia/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/sufia/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra/sufia/deployments","created_at":"2013-01-16T20:23:18Z","updated_at":"2016-11-02T22:14:10Z","pushed_at":"2016-11-28T23:32:51Z","git_url":"git://github.com/projecthydra/sufia.git","ssh_url":"git@github.com:projecthydra/sufia.git","clone_url":"https://github.com/projecthydra/sufia.git","svn_url":"https://github.com/projecthydra/sufia","homepage":"http://sufia.io/","size":60701,"stargazers_count":106,"watchers_count":106,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":208,"forks":89,"open_issues":208,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/2924"},"html":{"href":"https://github.com/projecthydra/sufia/pull/2924"},"issue":{"href":"https://api.github.com/repos/projecthydra/sufia/issues/2924"},"comments":{"href":"https://api.github.com/repos/projecthydra/sufia/issues/2924/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/2924/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/2924/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra/sufia/statuses/8950824066aa0a031cbf2176db52644019741f2e"}}}}
{"actor":{"display_login":"scholarworks"}}