{"action":"created","issue":{"url":"https://api.github.com/repos/ilios/ilios/issues/1013","labels_url":"https://api.github.com/repos/ilios/ilios/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/ilios/ilios/issues/1013/comments","events_url":"https://api.github.com/repos/ilios/ilios/issues/1013/events","html_url":"https://github.com/ilios/ilios/pull/1013","id":105951284,"number":1013,"title":"User Management Commands","user":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stopfstedt","id":1410427,"avatar_url":"https://avatars.githubusercontent.com/u/1410427?v=3","gravatar_id":"","url":"https://api.github.com/users/stopfstedt","html_url":"https://github.com/stopfstedt","followers_url":"https://api.github.com/users/stopfstedt/followers","following_url":"https://api.github.com/users/stopfstedt/following{/other_user}","gists_url":"https://api.github.com/users/stopfstedt/gists{/gist_id}","starred_url":"https://api.github.com/users/stopfstedt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stopfstedt/subscriptions","organizations_url":"https://api.github.com/users/stopfstedt/orgs","repos_url":"https://api.github.com/users/stopfstedt/repos","events_url":"https://api.github.com/users/stopfstedt/events{/privacy}","received_events_url":"https://api.github.com/users/stopfstedt/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-11T06:15:55Z","updated_at":"2015-09-18T06:42:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ilios/ilios/pulls/1013","html_url":"https://github.com/ilios/ilios/pull/1013","diff_url":"https://github.com/ilios/ilios/pull/1013.diff","patch_url":"https://github.com/ilios/ilios/pull/1013.patch"},"body":"Adds commands for managing users:\r\n- `ilios:directory:add-students` takes a schoolId and an LDAP query and adds anyone it find in the query to the school.\r\n- `ilios:directory:add-user` adds a single user by campusId\r\n- `ilios:directory:sync-former-students` takes and LDAP query and marks anyone it finds as a former student\r\n- `ilios:directory:sync-user` looks up a single user in LDAP and syncs their user record with the directory.\r\n- `ilios:directory:sync-users` looks for every Ilios user in LDAP by their campusId.  It updated name / phone / and changes to the case of email automatically and addes PendingUserUpdate entries for other differences that require intervention.\r\n\r\nTogether these are the base of User synchronization.\r\n\r\nFixes #1011\r\nFixes #991\r\n\r\nI didn't include the API (controller, form, tests) for PendingUserUpdate.  I will do those separately."},"comment":{"url":"https://api.github.com/repos/ilios/ilios/issues/comments/141360580","html_url":"https://github.com/ilios/ilios/pull/1013#issuecomment-141360580","issue_url":"https://api.github.com/repos/ilios/ilios/issues/1013","id":141360580,"user":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T06:42:34Z","updated_at":"2015-09-18T06:42:34Z","body":"Ready for review @stopfstedt "}}