{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/674","repository_url":"https://api.github.com/repos/mitodl/micromasters","labels_url":"https://api.github.com/repos/mitodl/micromasters/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/674/comments","events_url":"https://api.github.com/repos/mitodl/micromasters/issues/674/events","html_url":"https://github.com/mitodl/micromasters/issues/674","id":163420319,"number":674,"title":"Add roles to user model","user":{"login":"pdpinch","id":430126,"avatar_url":"https://avatars.githubusercontent.com/u/430126?v=3","gravatar_id":"","url":"https://api.github.com/users/pdpinch","html_url":"https://github.com/pdpinch","followers_url":"https://api.github.com/users/pdpinch/followers","following_url":"https://api.github.com/users/pdpinch/following{/other_user}","gists_url":"https://api.github.com/users/pdpinch/gists{/gist_id}","starred_url":"https://api.github.com/users/pdpinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdpinch/subscriptions","organizations_url":"https://api.github.com/users/pdpinch/orgs","repos_url":"https://api.github.com/users/pdpinch/repos","events_url":"https://api.github.com/users/pdpinch/events{/privacy}","received_events_url":"https://api.github.com/users/pdpinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"giocalitri","id":1005204,"avatar_url":"https://avatars.githubusercontent.com/u/1005204?v=3","gravatar_id":"","url":"https://api.github.com/users/giocalitri","html_url":"https://github.com/giocalitri","followers_url":"https://api.github.com/users/giocalitri/followers","following_url":"https://api.github.com/users/giocalitri/following{/other_user}","gists_url":"https://api.github.com/users/giocalitri/gists{/gist_id}","starred_url":"https://api.github.com/users/giocalitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giocalitri/subscriptions","organizations_url":"https://api.github.com/users/giocalitri/orgs","repos_url":"https://api.github.com/users/giocalitri/repos","events_url":"https://api.github.com/users/giocalitri/events{/privacy}","received_events_url":"https://api.github.com/users/giocalitri/received_events","type":"User","site_admin":false},"assignees":[{"login":"giocalitri","id":1005204,"avatar_url":"https://avatars.githubusercontent.com/u/1005204?v=3","gravatar_id":"","url":"https://api.github.com/users/giocalitri","html_url":"https://github.com/giocalitri","followers_url":"https://api.github.com/users/giocalitri/followers","following_url":"https://api.github.com/users/giocalitri/following{/other_user}","gists_url":"https://api.github.com/users/giocalitri/gists{/gist_id}","starred_url":"https://api.github.com/users/giocalitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giocalitri/subscriptions","organizations_url":"https://api.github.com/users/giocalitri/orgs","repos_url":"https://api.github.com/users/giocalitri/repos","events_url":"https://api.github.com/users/giocalitri/events{/privacy}","received_events_url":"https://api.github.com/users/giocalitri/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mitodl/micromasters/milestones/10","html_url":"https://github.com/mitodl/micromasters/milestones/Sour%20Candy","labels_url":"https://api.github.com/repos/mitodl/micromasters/milestones/10/labels","id":1860703,"number":10,"title":"Sour Candy","description":"July 18th is National Sour Candy Day","creator":{"login":"pdpinch","id":430126,"avatar_url":"https://avatars.githubusercontent.com/u/430126?v=3","gravatar_id":"","url":"https://api.github.com/users/pdpinch","html_url":"https://github.com/pdpinch","followers_url":"https://api.github.com/users/pdpinch/followers","following_url":"https://api.github.com/users/pdpinch/following{/other_user}","gists_url":"https://api.github.com/users/pdpinch/gists{/gist_id}","starred_url":"https://api.github.com/users/pdpinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdpinch/subscriptions","organizations_url":"https://api.github.com/users/pdpinch/orgs","repos_url":"https://api.github.com/users/pdpinch/repos","events_url":"https://api.github.com/users/pdpinch/events{/privacy}","received_events_url":"https://api.github.com/users/pdpinch/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":5,"state":"open","created_at":"2016-07-01T20:15:56Z","updated_at":"2016-07-06T21:28:44Z","due_on":"2016-07-18T04:00:00Z","closed_at":null},"comments":7,"created_at":"2016-07-01T15:32:01Z","updated_at":"2016-07-07T14:45:27Z","closed_at":null,"body":"3 roles currently:\r\n\r\nadmin\r\nMM team (can have this role on multiple programs) \r\nlearner (can have this role on multiple programs)\r\n\r\nDo we need an instructor role, distinct from MM team?\r\n\r\nMM team permissions includes things like:\r\n- editing their pages in the CMS\r\n- search private learner profiles in their MicroMasters\r\n- possible future features like creating new forums and messaging learners in their MicroMasters\r\n"},"comment":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/comments/231099654","html_url":"https://github.com/mitodl/micromasters/issues/674#issuecomment-231099654","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/674","id":231099654,"user":{"login":"Ferdi","id":125561,"avatar_url":"https://avatars.githubusercontent.com/u/125561?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdi","html_url":"https://github.com/Ferdi","followers_url":"https://api.github.com/users/Ferdi/followers","following_url":"https://api.github.com/users/Ferdi/following{/other_user}","gists_url":"https://api.github.com/users/Ferdi/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdi/subscriptions","organizations_url":"https://api.github.com/users/Ferdi/orgs","repos_url":"https://api.github.com/users/Ferdi/repos","events_url":"https://api.github.com/users/Ferdi/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdi/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T14:45:27Z","updated_at":"2016-07-07T14:45:27Z","body":"How do you assign a permission to a role ? what the code looks like ?"}}
{"actor":{"display_login":"Ferdi"}}