{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-enterprise/issues/8","repository_url":"https://api.github.com/repos/edx/edx-enterprise","labels_url":"https://api.github.com/repos/edx/edx-enterprise/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-enterprise/issues/8/comments","events_url":"https://api.github.com/repos/edx/edx-enterprise/issues/8/events","html_url":"https://github.com/edx/edx-enterprise/pull/8","id":188761226,"number":8,"title":"Manage Learners","user":{"login":"e-kolpakov","id":3330048,"avatar_url":"https://avatars.githubusercontent.com/u/3330048?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T13:34:42Z","updated_at":"2016-11-14T14:28:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-enterprise/pulls/8","html_url":"https://github.com/edx/edx-enterprise/pull/8","diff_url":"https://github.com/edx/edx-enterprise/pull/8.diff","patch_url":"https://github.com/edx/edx-enterprise/pull/8.patch"},"body":"Initial version of \"Manage Learners\" view for early review. Detailed description TBD.\r\n\r\n**Installation instructions:**\r\n1. Switch to this branch.\r\n2. Make sure edx-enterprise is installed into edx-platform virtualenv locally (i.e. `pip install -e /edx/src/edx-enterprise` or `pip install -e git+https://...`)\r\n3. Add `'django_object_actions'` to  `OPTIONAL_APPS` in common.py.\r\n\r\n**Testing instructions:**\r\n1. Open Enterprise Customer record in Django admin\r\n2. In the top-right corner, next to \"History\" button, \"Manage Learners\" button should appear. Click on it.\r\n3. You will arrive to \"Manage Learners\" view for that particular Enterprise Customer.\r\n4. Check that breadcrumbs strip is correct (should contain link to Enterprise Customer record and link to lit of ECs)\r\n5. Try linking a learner via form on the right side\r\n5.1. By username - if user exists, his email should be added to a list. If not, validation error should be shown\r\n5.2. By email - if invalid email is put, validation message should be shown. If email of an existing user is provided, username is shown in the list\r\n5.3. In both cases, if user is already linked to EC (including current), validation error should be shown.\r\n6. Make sure added learners appear in the list.\r\n6.1. Make sure they survive page refresh.\r\n6.2. Make sure they appear in Enterprise Customer User admin with correct data (i.e. linked to correct EC)\r\n7. Try unlinking users\r\n7.1. Make sure confirmation is shown.\r\n7.2. Make sure survives page refresh.\r\n7.3. Make sure they disappear from Enterprise Customer User admin.\r\n\r\n**Reviewers:**\r\n- [ ] @mtyaka \r\n- [ ] @saleem-latif and/or @asadiqbal08 "},"comment":{"url":"https://api.github.com/repos/edx/edx-enterprise/issues/comments/260348463","html_url":"https://github.com/edx/edx-enterprise/pull/8#issuecomment-260348463","issue_url":"https://api.github.com/repos/edx/edx-enterprise/issues/8","id":260348463,"user":{"login":"e-kolpakov","id":3330048,"avatar_url":"https://avatars.githubusercontent.com/u/3330048?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T14:28:36Z","updated_at":"2016-11-14T14:28:36Z","body":"@saleem-latif @asadiqbal08 This PR is ready for review."}}
{"actor":{"display_login":"e-kolpakov"}}