{"action":"created","comment":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/277152876","pull_request_review_id":228896595,"id":277152876,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3NzE1Mjg3Ng==","diff_hunk":"@@ -186,3 +189,53 @@ Feature: Edit Works\n       And I follow \"What a title! :< :& :>\"\n       And I follow \"Edit\"\n     Then I should see \"What a title! :< :& :>\" in the \"Work Title\" input\n+\n+  Scenario: Users can not revoke the right of co-creation on an already existing work.\n+    Given basic tags\n+      And \"Burnham\" has the pseud \"Michael\"\n+      And \"Pike\" has the pseud \"Christopher\"\n+      And the user \"Burnham\" allows co-creators\n+    When I am logged in as \"testuser\" with password \"testuser\"\n+      And I go to the new work page\n+      And I fill in the basic work information for \"Thats not my Spock\"\n+      And I check \"Add co-creators?\"\n+      And I fill in \"pseud_byline\" with \"Michael,Christopher\"\n+      And I press \"Post Without Preview\"\n+   Then I should see \"Christopher does not allow others to add them as a co-creator.\"\n+      And I fill in \"pseud_byline\" with \"Michael\"\n+      And I press \"Preview\"\n+   Then I should see \"Draft was successfully created.\"\n+      And I press \"Post\"\n+   Then I should see \"Work was successfully posted. It should appear in work listings within the next few minutes.\"\n+      And I should see \"Michael (Burnham), testuser\"\n+   Then the user \"Burnham\" disallows co-creators\n+   When I edit the work \"Thats not my Spock\"\n+     And I fill in \"Work Title\" with \"Thats not my Spock, it has too much beard\"\n+     And I press \"Post Without Preview\"\n+   Then I should see \"Thats not my Spock, it has too much beard\"\n+    And I should see \"Michael (Burnham), testuser\"\n+\n+  Scenario: You can add a co-author to an already-posted work with a change in co creator preferences.","path":"features/works/work_edit.feature","position":54,"original_position":54,"commit_id":"b104cb80f6684405aaa0cc7f38814e85b1ccf124","original_commit_id":"b104cb80f6684405aaa0cc7f38814e85b1ccf124","user":{"login":"sarken","id":907055,"node_id":"MDQ6VXNlcjkwNzA1NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/907055?v=4","gravatar_id":"","url":"https://api.github.com/users/sarken","html_url":"https://github.com/sarken","followers_url":"https://api.github.com/users/sarken/followers","following_url":"https://api.github.com/users/sarken/following{/other_user}","gists_url":"https://api.github.com/users/sarken/gists{/gist_id}","starred_url":"https://api.github.com/users/sarken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarken/subscriptions","organizations_url":"https://api.github.com/users/sarken/orgs","repos_url":"https://api.github.com/users/sarken/repos","events_url":"https://api.github.com/users/sarken/events{/privacy}","received_events_url":"https://api.github.com/users/sarken/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n  Scenario: When you have a work with two co-creators, and one of them changes their preference to disallow co-creation, the other should still be able to edit the work and add a third co-creator.\r\n    Given basic tags\r\n      And \"Burnham\" has the pseud \"Michael\"\r\n      And \"Georgiou\" has the pseud \"Philippa\"\r\n      And the user \"Burnham\" allows co-creators\r\n      And the user \"Georgiou\" allows co-creators\r\n    When I am logged in as \"testuser\" with password \"testuser\"\r\n      And I go to the new work page\r\n      And I fill in the basic work information for \"Thats not my Spock\"\r\n      And I check \"Add co-creators?\"\r\n      And I fill in \"pseud_byline\" with \"Michael\"\r\n      And I press \"Post Without Preview\"\r\n    Then I should see \"Work was successfully posted. It should appear in work listings within the next few minutes.\"\r\n      And I should see \"Michael (Burnham), testuser\"\r\n    When the user \"Burnham\" disallows co-creators\r\n      And I edit the work \"Thats not my Spock\"\r\n      And I fill in \"Work Title\" with \"Thats not my Spock, it has too much beard\"\r\n      And I press \"Post Without Preview\"\r\n    Then I should see \"Thats not my Spock, it has too much beard\"\r\n      And I should see \"Michael (Burnham), testuser\"\r\n    When I add the co-author \"Georgiou\" to the work \"Thats not my Spock, it has too much beard\"\r\n    Then I should see \"Work was successfully updated\"\r\n      And I should see \"Georgiou, Michael (Burnham), testuser\"\r\n```","created_at":"2019-04-21T03:26:54Z","updated_at":"2019-04-21T03:34:28Z","html_url":"https://github.com/otwcode/otwarchive/pull/3567#discussion_r277152876","pull_request_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/277152876"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/3567#discussion_r277152876"},"pull_request":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567"}}},"pull_request":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567","id":272181251,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcyMTgxMjUx","html_url":"https://github.com/otwcode/otwarchive/pull/3567","diff_url":"https://github.com/otwcode/otwarchive/pull/3567.diff","patch_url":"https://github.com/otwcode/otwarchive/pull/3567.patch","issue_url":"https://api.github.com/repos/otwcode/otwarchive/issues/3567","number":3567,"state":"open","locked":false,"title":"AO3-5658 Add co-creator preference and ambiguous pseud support to chapters/series","user":{"login":"zz9pzza","id":1606304,"node_id":"MDQ6VXNlcjE2MDYzMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1606304?v=4","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"body":"## Issue\r\n\r\nhttps://otwarchive.atlassian.net/browse/AO3-5658\r\n\r\nAlso includes:\r\n\r\nhttps://otwarchive.atlassian.net/browse/AO3-5662\r\nhttps://otwarchive.atlassian.net/browse/AO3-5606\r\nhttps://otwarchive.atlassian.net/browse/AO3-5083\r\n\r\n## Purpose\r\n\r\nAdds a co-creator preference and adds ambiguous pseud support to chapters and series.\r\n\r\n## Testing Instructions\r\n\r\nSee issues.","created_at":"2019-04-20T22:41:13Z","updated_at":"2019-04-21T03:34:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0311c78b19c2dcb2a66e46bd859346b4df483aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":325853768,"node_id":"MDU6TGFiZWwzMjU4NTM3Njg=","url":"https://api.github.com/repos/otwcode/otwarchive/labels/Awaiting%20Review","name":"Awaiting Review","color":"fbca04","default":false},{"id":293244925,"node_id":"MDU6TGFiZWwyOTMyNDQ5MjU=","url":"https://api.github.com/repos/otwcode/otwarchive/labels/Has%20Migrations","name":"Has Migrations","color":"1d76db","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567/commits","review_comments_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567/comments","review_comment_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/issues/3567/comments","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/b104cb80f6684405aaa0cc7f38814e85b1ccf124","head":{"label":"zz9pzza:AO3-5658","ref":"AO3-5658","sha":"b104cb80f6684405aaa0cc7f38814e85b1ccf124","user":{"login":"zz9pzza","id":1606304,"node_id":"MDQ6VXNlcjE2MDYzMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1606304?v=4","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"repo":{"id":5325884,"node_id":"MDEwOlJlcG9zaXRvcnk1MzI1ODg0","name":"otwarchive","full_name":"zz9pzza/otwarchive","private":false,"owner":{"login":"zz9pzza","id":1606304,"node_id":"MDQ6VXNlcjE2MDYzMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1606304?v=4","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zz9pzza/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":true,"url":"https://api.github.com/repos/zz9pzza/otwarchive","forks_url":"https://api.github.com/repos/zz9pzza/otwarchive/forks","keys_url":"https://api.github.com/repos/zz9pzza/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zz9pzza/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zz9pzza/otwarchive/teams","hooks_url":"https://api.github.com/repos/zz9pzza/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/zz9pzza/otwarchive/events","assignees_url":"https://api.github.com/repos/zz9pzza/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/zz9pzza/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/zz9pzza/otwarchive/tags","blobs_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zz9pzza/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/zz9pzza/otwarchive/languages","stargazers_url":"https://api.github.com/repos/zz9pzza/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/zz9pzza/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/zz9pzza/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/zz9pzza/otwarchive/subscription","commits_url":"https://api.github.com/repos/zz9pzza/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/zz9pzza/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/zz9pzza/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/zz9pzza/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zz9pzza/otwarchive/merges","archive_url":"https://api.github.com/repos/zz9pzza/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zz9pzza/otwarchive/downloads","issues_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/zz9pzza/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/zz9pzza/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/zz9pzza/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zz9pzza/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/zz9pzza/otwarchive/releases{/id}","deployments_url":"https://api.github.com/repos/zz9pzza/otwarchive/deployments","created_at":"2012-08-07T09:13:15Z","updated_at":"2019-03-10T16:54:34Z","pushed_at":"2019-04-20T22:36:19Z","git_url":"git://github.com/zz9pzza/otwarchive.git","ssh_url":"git@github.com:zz9pzza/otwarchive.git","clone_url":"https://github.com/zz9pzza/otwarchive.git","svn_url":"https://github.com/zz9pzza/otwarchive","homepage":"http://transformativeworks.org/projects/archive","size":59527,"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":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"otwcode:master","ref":"master","sha":"c2a315d563b4834d1c349377dd65a6436e4a2b2f","user":{"login":"otwcode","id":408606,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODYwNg==","avatar_url":"https://avatars2.githubusercontent.com/u/408606?v=4","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"repo":{"id":1338040,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM4MDQw","name":"otwarchive","full_name":"otwcode/otwarchive","private":false,"owner":{"login":"otwcode","id":408606,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODYwNg==","avatar_url":"https://avatars2.githubusercontent.com/u/408606?v=4","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/otwcode/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":false,"url":"https://api.github.com/repos/otwcode/otwarchive","forks_url":"https://api.github.com/repos/otwcode/otwarchive/forks","keys_url":"https://api.github.com/repos/otwcode/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otwcode/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otwcode/otwarchive/teams","hooks_url":"https://api.github.com/repos/otwcode/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/otwcode/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/otwcode/otwarchive/events","assignees_url":"https://api.github.com/repos/otwcode/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/otwcode/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/otwcode/otwarchive/tags","blobs_url":"https://api.github.com/repos/otwcode/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otwcode/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otwcode/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/otwcode/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/otwcode/otwarchive/languages","stargazers_url":"https://api.github.com/repos/otwcode/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/otwcode/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/otwcode/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/otwcode/otwarchive/subscription","commits_url":"https://api.github.com/repos/otwcode/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/otwcode/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/otwcode/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/otwcode/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/otwcode/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otwcode/otwarchive/merges","archive_url":"https://api.github.com/repos/otwcode/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otwcode/otwarchive/downloads","issues_url":"https://api.github.com/repos/otwcode/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/otwcode/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/otwcode/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/otwcode/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otwcode/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/otwcode/otwarchive/releases{/id}","deployments_url":"https://api.github.com/repos/otwcode/otwarchive/deployments","created_at":"2011-02-07T14:50:58Z","updated_at":"2019-04-20T22:18:04Z","pushed_at":"2019-04-21T01:52:14Z","git_url":"git://github.com/otwcode/otwarchive.git","ssh_url":"git@github.com:otwcode/otwarchive.git","clone_url":"https://github.com/otwcode/otwarchive.git","svn_url":"https://github.com/otwcode/otwarchive","homepage":"http://www.transformativeworks.org/archive_of_our_own/","size":57632,"stargazers_count":408,"watchers_count":408,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":220,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":86,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":220,"open_issues":86,"watchers":408,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/3567"},"issue":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/3567"},"comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/3567/comments"},"review_comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567/comments"},"review_comment":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/3567/commits"},"statuses":{"href":"https://api.github.com/repos/otwcode/otwarchive/statuses/b104cb80f6684405aaa0cc7f38814e85b1ccf124"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sarken"}}