{"action":"created","issue":{"url":"https://api.github.com/repos/kinoli/groupie/issues/1","repository_url":"https://api.github.com/repos/kinoli/groupie","labels_url":"https://api.github.com/repos/kinoli/groupie/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kinoli/groupie/issues/1/comments","events_url":"https://api.github.com/repos/kinoli/groupie/issues/1/events","html_url":"https://github.com/kinoli/groupie/issues/1","id":389220693,"node_id":"MDU6SXNzdWUzODkyMjA2OTM=","number":1,"title":"Switch groups","user":{"login":"kevadamson","id":1021744,"node_id":"MDQ6VXNlcjEwMjE3NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1021744?v=4","gravatar_id":"","url":"https://api.github.com/users/kevadamson","html_url":"https://github.com/kevadamson","followers_url":"https://api.github.com/users/kevadamson/followers","following_url":"https://api.github.com/users/kevadamson/following{/other_user}","gists_url":"https://api.github.com/users/kevadamson/gists{/gist_id}","starred_url":"https://api.github.com/users/kevadamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevadamson/subscriptions","organizations_url":"https://api.github.com/users/kevadamson/orgs","repos_url":"https://api.github.com/users/kevadamson/repos","events_url":"https://api.github.com/users/kevadamson/events{/privacy}","received_events_url":"https://api.github.com/users/kevadamson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-10T09:54:09Z","updated_at":"2018-12-16T02:15:10Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nCan this plugin be used so that a user can switch their group via a font-end form?\r\n\r\nFor e.g.\r\n\r\nA user signs up and is a regular customer\r\nBut they can then switch to become a trade customer via a form\r\nIndeed, new users can sign-up as a trade customer from the off as well (without necessarily being a regular customer first)\r\n\r\nOf course, it could also be that they are assigned to both groups rather than switching, should that be more suitable based on this plugin.\r\n\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/kinoli/groupie/issues/comments/447612307","html_url":"https://github.com/kinoli/groupie/issues/1#issuecomment-447612307","issue_url":"https://api.github.com/repos/kinoli/groupie/issues/1","id":447612307,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzYxMjMwNw==","user":{"login":"kinoli","id":61486,"node_id":"MDQ6VXNlcjYxNDg2","avatar_url":"https://avatars0.githubusercontent.com/u/61486?v=4","gravatar_id":"","url":"https://api.github.com/users/kinoli","html_url":"https://github.com/kinoli","followers_url":"https://api.github.com/users/kinoli/followers","following_url":"https://api.github.com/users/kinoli/following{/other_user}","gists_url":"https://api.github.com/users/kinoli/gists{/gist_id}","starred_url":"https://api.github.com/users/kinoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinoli/subscriptions","organizations_url":"https://api.github.com/users/kinoli/orgs","repos_url":"https://api.github.com/users/kinoli/repos","events_url":"https://api.github.com/users/kinoli/events{/privacy}","received_events_url":"https://api.github.com/users/kinoli/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T02:15:10Z","updated_at":"2018-12-16T02:15:10Z","author_association":"OWNER","body":"The plugin is currently only setup to work from the `EVENT_AFTER_ASSIGN_USER_TO_DEFAULT_GROUP` event hook. So right now it works upon registration on a front end form. I do have plans to make it work with a user profile form as well. Just need some time and I'll make it work."}}
{"actor":{"display_login":"kinoli"}}