{"action":"created","issue":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/716","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/716/comments","events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/716/events","html_url":"https://github.com/zooniverse/Panoptes/issues/716","id":65283230,"number":716,"title":"Is UserGroup required to add collaborators?","user":{"login":"mkosmala","id":1066340,"avatar_url":"https://avatars.githubusercontent.com/u/1066340?v=3","gravatar_id":"","url":"https://api.github.com/users/mkosmala","html_url":"https://github.com/mkosmala","followers_url":"https://api.github.com/users/mkosmala/followers","following_url":"https://api.github.com/users/mkosmala/following{/other_user}","gists_url":"https://api.github.com/users/mkosmala/gists{/gist_id}","starred_url":"https://api.github.com/users/mkosmala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkosmala/subscriptions","organizations_url":"https://api.github.com/users/mkosmala/orgs","repos_url":"https://api.github.com/users/mkosmala/repos","events_url":"https://api.github.com/users/mkosmala/events{/privacy}","received_events_url":"https://api.github.com/users/mkosmala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T19:28:48Z","updated_at":"2015-03-30T20:19:31Z","closed_at":null,"body":"I have a Project that I own. \r\nI want to add a collaborator. \r\nI am doing this:\r\n```\r\nPOST: https://panoptes-staging.zooniverse.org/api/project_roles\r\n\r\nPayload:\r\n        {\r\n            \"project_roles\": {\r\n                \"roles\": [\"collaborator\"],\r\n                \"links\": {\r\n                    \"project\": \"190\",\r\n                    \"user\": \"6\"\r\n                }\r\n            }\r\n        }\r\n```\r\nAnd I get an Error 400 with message:\r\n```\r\nValidation failed: User group can't be blank\r\n```\r\nI'm a bit confused because I thought there were two ways to have multiple people running a project:\r\n1) create a user-owned project and then add collaborators to the project (as I'm attempting to do); or\r\n2) create a user group (with multiple people in it) and then create a project that is owned by that group.\r\n\r\nIt is true that my project does not have a user group. But I thought I didn't need one. Help?"},"comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments/87817597","html_url":"https://github.com/zooniverse/Panoptes/issues/716#issuecomment-87817597","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/716","id":87817597,"user":{"login":"camallen","id":295329,"avatar_url":"https://avatars.githubusercontent.com/u/295329?v=3","gravatar_id":"","url":"https://api.github.com/users/camallen","html_url":"https://github.com/camallen","followers_url":"https://api.github.com/users/camallen/followers","following_url":"https://api.github.com/users/camallen/following{/other_user}","gists_url":"https://api.github.com/users/camallen/gists{/gist_id}","starred_url":"https://api.github.com/users/camallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camallen/subscriptions","organizations_url":"https://api.github.com/users/camallen/orgs","repos_url":"https://api.github.com/users/camallen/repos","events_url":"https://api.github.com/users/camallen/events{/privacy}","received_events_url":"https://api.github.com/users/camallen/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T20:19:31Z","updated_at":"2015-03-30T20:19:31Z","body":"Sounds like a bug. \r\n\r\nIt's an internal implementation detail that you really don't have to worry about, we're all users have their own \"Identity\" Group for access control."}}