{"action":"created","issue":{"url":"https://api.github.com/repos/ilios/ilios/issues/1623","repository_url":"https://api.github.com/repos/ilios/ilios","labels_url":"https://api.github.com/repos/ilios/ilios/issues/1623/labels{/name}","comments_url":"https://api.github.com/repos/ilios/ilios/issues/1623/comments","events_url":"https://api.github.com/repos/ilios/ilios/issues/1623/events","html_url":"https://github.com/ilios/ilios/issues/1623","id":182387644,"number":1623,"title":"Add \"is root\" attribute to users","user":{"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},"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},"assignees":[{"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":"2016-10-11T22:11:48Z","updated_at":"2016-10-11T22:44:51Z","closed_at":null,"body":"- root users can access everything at all times, instance-wide. \r\n- check for root needs to be wired into all voters, the root-check will need to precede any other authorization checks within these voters; essentially short-circuiting those.\r\n- exclusive capabilities of root users:\r\n  - can create schools\r\n  - can delete schools\r\n  - can flag other users as \"root\"\r\n\r\nwhile at it, create a console command(s) that allows the root flag to be set and unset."},"comment":{"url":"https://api.github.com/repos/ilios/ilios/issues/comments/253069424","html_url":"https://github.com/ilios/ilios/issues/1623#issuecomment-253069424","issue_url":"https://api.github.com/repos/ilios/ilios/issues/1623","id":253069424,"user":{"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},"created_at":"2016-10-11T22:44:51Z","updated_at":"2016-10-11T22:44:51Z","body":"make sure to bake an extra perms check into the user controller's POST and PUT action to ensure that the current user has rights to set/modify the 'root' flag."}}
{"actor":{"display_login":"stopfstedt"}}