{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/18537","repository_url":"https://api.github.com/repos/edx/edx-platform","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/18537/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/18537/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/18537/events","html_url":"https://github.com/edx/edx-platform/pull/18537","id":339468045,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMTEzNzY3","number":18537,"title":"Course visibility options","user":{"login":"viadanna","id":5691347,"node_id":"MDQ6VXNlcjU2OTEzNDc=","avatar_url":"https://avatars0.githubusercontent.com/u/5691347?v=4","gravatar_id":"","url":"https://api.github.com/users/viadanna","html_url":"https://github.com/viadanna","followers_url":"https://api.github.com/users/viadanna/followers","following_url":"https://api.github.com/users/viadanna/following{/other_user}","gists_url":"https://api.github.com/users/viadanna/gists{/gist_id}","starred_url":"https://api.github.com/users/viadanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viadanna/subscriptions","organizations_url":"https://api.github.com/users/viadanna/orgs","repos_url":"https://api.github.com/users/viadanna/repos","events_url":"https://api.github.com/users/viadanna/events{/privacy}","received_events_url":"https://api.github.com/users/viadanna/received_events","type":"User","site_admin":false},"labels":[{"id":78051711,"node_id":"MDU6TGFiZWw3ODA1MTcxMQ==","url":"https://api.github.com/repos/edx/edx-platform/labels/open-source-contribution","name":"open-source-contribution","color":"bfe5bf","default":false},{"id":95143255,"node_id":"MDU6TGFiZWw5NTE0MzI1NQ==","url":"https://api.github.com/repos/edx/edx-platform/labels/waiting%20on%20author","name":"waiting on author","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-09T14:15:41Z","updated_at":"2018-07-18T17:10:02Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/18537","html_url":"https://github.com/edx/edx-platform/pull/18537","diff_url":"https://github.com/edx/edx-platform/pull/18537.diff","patch_url":"https://github.com/edx/edx-platform/pull/18537.patch"},"body":"This PR adds the course setting `course visibility` in CMS to allow preview and public access.\r\n\r\nThis requires the course waffle flag `enable_anonymous_access`.\r\n\r\n**Sandbox URL**:\r\n    [LMS](https://pr18537.sandbox.opencraft.hosting/)\r\n    [CMS](https://studio-pr18537.sandbox.opencraft.hosting/)\r\n\r\n**Testing instructions**:\r\n\r\n1. Either logout or open a private browsing window and navigate to the demo course.\r\n2. Make sure the outline isn't displayed and accessing a unit redirects to login.\r\n3. Enable `seo.enable_anonymous_acess` waffle flag to the course and make sure the `Course Visibility For Unauthenticated Students` setting appear for the course in Studio.\r\n4. Make sure the outline isn't displayed and accessing a unit redirects to login.\r\n5. Change the `Course Visibility For Unauthenticated Students` advanced setting for the course to `preview`.\r\n6. Make sure the outline is displayed without links or handouts.\r\n7. Change the `Course Visibility For Unauthenticated Students` advanced setting for the course to `public`.\r\n8. Refresh the course outline in the private browsing session and make sure the course outline is displayed with links.\r\n9. Navigate to a unit and check it displays, even with broken blocks.\r\n10. Disable the course waffle flag and make sure the course visibility setting doesn't shown up in advanced course settings.\r\n\r\n**Author notes and concerns**:\r\n\r\n1. Public access must be supported on XBlocks as well, so most will be broken for now.\r\n\r\n**Reviewers**\r\n- [ ] @symbolist \r\n- [ ] edX reviewer[s] TBD\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/406005972","html_url":"https://github.com/edx/edx-platform/pull/18537#issuecomment-406005972","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/18537","id":406005972,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjAwNTk3Mg==","user":{"login":"edx-status-bot","id":9448959,"node_id":"MDQ6VXNlcjk0NDg5NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9448959?v=4","gravatar_id":"","url":"https://api.github.com/users/edx-status-bot","html_url":"https://github.com/edx-status-bot","followers_url":"https://api.github.com/users/edx-status-bot/followers","following_url":"https://api.github.com/users/edx-status-bot/following{/other_user}","gists_url":"https://api.github.com/users/edx-status-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-status-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-status-bot/subscriptions","organizations_url":"https://api.github.com/users/edx-status-bot/orgs","repos_url":"https://api.github.com/users/edx-status-bot/repos","events_url":"https://api.github.com/users/edx-status-bot/events{/privacy}","received_events_url":"https://api.github.com/users/edx-status-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T17:10:02Z","updated_at":"2018-07-18T17:10:02Z","author_association":"NONE","body":"Your PR has finished running tests. There were no failures."}}
{"actor":{"display_login":"edx-status-bot"}}