{"action":"created","issue":{"url":"https://api.github.com/repos/mitocw/edx-platform/issues/189","repository_url":"https://api.github.com/repos/mitocw/edx-platform","labels_url":"https://api.github.com/repos/mitocw/edx-platform/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/mitocw/edx-platform/issues/189/comments","events_url":"https://api.github.com/repos/mitocw/edx-platform/issues/189/events","html_url":"https://github.com/mitocw/edx-platform/issues/189","id":129647899,"number":189,"title":"When a CCXConnector URL is added to a course, prevent creation of new CCX in lms","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":[{"url":"https://api.github.com/repos/mitocw/edx-platform/labels/CCX","name":"CCX","color":"fad8c7"},{"url":"https://api.github.com/repos/mitocw/edx-platform/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/mitocw/edx-platform/milestones/7","html_url":"https://github.com/mitocw/edx-platform/milestones/Valentine's%20Day","labels_url":"https://api.github.com/repos/mitocw/edx-platform/milestones/7/labels","id":1551184,"number":7,"title":"Valentine's Day","description":"","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":8,"closed_issues":0,"state":"open","created_at":"2016-01-29T13:39:30Z","updated_at":"2016-02-02T18:18:48Z","due_on":"2016-02-14T05:00:00Z","closed_at":null},"comments":2,"created_at":"2016-01-29T02:42:31Z","updated_at":"2016-02-04T19:23:27Z","closed_at":null,"body":"As an instructor, when I set a URL for the CCXConnector advanced setting, I expect the creation of CCXs to be managed by another web site (presumably for a fee). Coaches should no longer be allowed to create their own CCXs via the coach dashboard. \n\nIt's OK to just return an error at this time, when a coach tried to create a CCX on course with a CCXCon setting."},"comment":{"url":"https://api.github.com/repos/mitocw/edx-platform/issues/comments/180011323","html_url":"https://github.com/mitocw/edx-platform/issues/189#issuecomment-180011323","issue_url":"https://api.github.com/repos/mitocw/edx-platform/issues/189","id":180011323,"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},"created_at":"2016-02-04T19:23:27Z","updated_at":"2016-02-04T19:23:27Z","body":"To keep things as simple to implement as possible, I was thinking that:\r\n\r\n- [ ] We still show the coach the create CCX Form\r\n- [ ] When the form is submitted:\r\n  - [ ] If the CCXConnector URL is NOT set, a CCX is created as normal\r\n  - [ ] if the CCXConnector URL IS set, an error is returned. If possible, the error message should include the setting for CCXCon URL in the course's advanced settings\r\n- [ ] The behavior is the same no matter how many CCXs have been created in the past. "}}