{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/4137","repository_url":"https://api.github.com/repos/mitodl/micromasters","labels_url":"https://api.github.com/repos/mitodl/micromasters/issues/4137/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/4137/comments","events_url":"https://api.github.com/repos/mitodl/micromasters/issues/4137/events","html_url":"https://github.com/mitodl/micromasters/issues/4137","id":363817818,"node_id":"MDU6SXNzdWUzNjM4MTc4MTg=","number":4137,"title":"Exams: List schedulable exams based on authorizations","user":{"login":"pdpinch","id":430126,"node_id":"MDQ6VXNlcjQzMDEyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/430126?v=4","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":"amir-qayyum-khan","id":10431250,"node_id":"MDQ6VXNlcjEwNDMxMjUw","avatar_url":"https://avatars0.githubusercontent.com/u/10431250?v=4","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},"assignees":[{"login":"amir-qayyum-khan","id":10431250,"node_id":"MDQ6VXNlcjEwNDMxMjUw","avatar_url":"https://avatars0.githubusercontent.com/u/10431250?v=4","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":null,"comments":2,"created_at":"2018-09-26T00:50:19Z","updated_at":"2018-10-02T15:33:13Z","closed_at":null,"author_association":"MEMBER","body":"We have an edge case where we would like to set up exam runs that can only be authorized manually. It works OK so far, but one issue is that when learners see the \"schedule an exam\" button on their dashboard when they have an active authorization, they don't see the list of courses. For example:\r\n\r\n<img width=\"1004\" alt=\"screen shot 2018-09-25 at 9 29 25 am\" src=\"https://user-images.githubusercontent.com/430126/46017648-fb1e3d80-c0a5-11e8-80b3-8de7fc472a2a.png\">\r\n\r\nIt appears the the \"Schedule an Exam button\" is controlled by the `pearson_exam_status` key in the dashboard API response, but the list of courses is built from other data (probably `course.can_schedule_exam`)\r\n\r\nThe first steps for this issue are to investigate the cause and then propose a solution, before implementation. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/comments/426319918","html_url":"https://github.com/mitodl/micromasters/issues/4137#issuecomment-426319918","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/4137","id":426319918,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjMxOTkxOA==","user":{"login":"amir-qayyum-khan","id":10431250,"node_id":"MDQ6VXNlcjEwNDMxMjUw","avatar_url":"https://avatars0.githubusercontent.com/u/10431250?v=4","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":"2018-10-02T15:33:13Z","updated_at":"2018-10-02T15:33:13Z","author_association":"CONTRIBUTOR","body":"the issue is he has 4 course and `\"can_schedule_exam\": false,`.\r\nThen how pearson_exam_status\": \"schedulable\",?\r\n\r\n`pearson_exam_status\": \"schedulable\",` should only appear when atleast one course has  `\"can_schedule_exam\": true,`"}}
{"actor":{"display_login":"amir-qayyum-khan"}}