{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/10877","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/10877/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/10877/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/10877/events","html_url":"https://github.com/edx/edx-platform/pull/10877","id":120981939,"number":10877,"title":"Added staff and instructor roles on ccx to all the staff and instructors of the master course. ","user":{"login":"amir-qayyum-khan","id":10431250,"avatar_url":"https://avatars.githubusercontent.com/u/10431250?v=3","gravatar_id":"","url":"https://api.github.com/users/amir-qayyum-khan","html_url":"https://github.com/amir-qayyum-khan","followers_url":"https://api.github.com/users/amir-qayyum-khan/followers","following_url":"https://api.github.com/users/amir-qayyum-khan/following{/other_user}","gists_url":"https://api.github.com/users/amir-qayyum-khan/gists{/gist_id}","starred_url":"https://api.github.com/users/amir-qayyum-khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir-qayyum-khan/subscriptions","organizations_url":"https://api.github.com/users/amir-qayyum-khan/orgs","repos_url":"https://api.github.com/users/amir-qayyum-khan/repos","events_url":"https://api.github.com/users/amir-qayyum-khan/events{/privacy}","received_events_url":"https://api.github.com/users/amir-qayyum-khan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/edx-platform/labels/open%20edx%20community%20review","name":"open edx community review","color":"fbca04"},{"url":"https://api.github.com/repos/edx/edx-platform/labels/open-source-contribution","name":"open-source-contribution","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-08T10:48:36Z","updated_at":"2015-12-10T12:09:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/10877","html_url":"https://github.com/edx/edx-platform/pull/10877","diff_url":"https://github.com/edx/edx-platform/pull/10877.diff","patch_url":"https://github.com/edx/edx-platform/pull/10877.patch"},"body":"### Background\r\nFrom issue https://github.com/mitocw/edx-platform/issues/126\r\n\r\n### What is done in this PR\r\n**Studio Updates:** None.\r\n\r\n**LMS Updates:** \r\n- Now when a coach creates a new ccx, I am assigning staff role on this ccx course to all staff of master course.\r\n- Now staff of master course has staff rights on master course as well as ccx courses.\r\n- This is for course staff to see what ccx coaches are doing with course.\r\n- Added instructors of master course as instructor(s) in ccx.\r\n- **Note:** This code will add enrol staff and instructors in ccx even if max student limit for ccx is reach. \r\n\r\n\r\n@pdpinch @giocalitri @pwilkins \r\n\r\n- Staff on Master course\r\n![screen shot 2015-11-30 at 5 12 54 pm](https://cloud.githubusercontent.com/assets/10431250/11471231/ba5e9cc8-9785-11e5-95c5-0cdcea97f780.png)\r\n\r\n- Staff on CCX\r\n![screen shot 2015-11-30 at 5 13 04 pm](https://cloud.githubusercontent.com/assets/10431250/11471234/c2d0a9dc-9785-11e5-865f-a1b7d79a34db.png)\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/163592426","html_url":"https://github.com/edx/edx-platform/pull/10877#issuecomment-163592426","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/10877","id":163592426,"user":{"login":"amir-qayyum-khan","id":10431250,"avatar_url":"https://avatars.githubusercontent.com/u/10431250?v=3","gravatar_id":"","url":"https://api.github.com/users/amir-qayyum-khan","html_url":"https://github.com/amir-qayyum-khan","followers_url":"https://api.github.com/users/amir-qayyum-khan/followers","following_url":"https://api.github.com/users/amir-qayyum-khan/following{/other_user}","gists_url":"https://api.github.com/users/amir-qayyum-khan/gists{/gist_id}","starred_url":"https://api.github.com/users/amir-qayyum-khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir-qayyum-khan/subscriptions","organizations_url":"https://api.github.com/users/amir-qayyum-khan/orgs","repos_url":"https://api.github.com/users/amir-qayyum-khan/repos","events_url":"https://api.github.com/users/amir-qayyum-khan/events{/privacy}","received_events_url":"https://api.github.com/users/amir-qayyum-khan/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T12:09:37Z","updated_at":"2015-12-10T12:09:37Z","body":"@pdpinch Done and rebased\r\n\r\n"}}