{"action":"closed","issue":{"url":"https://api.github.com/repos/StackExchange/blackbox/issues/152","repository_url":"https://api.github.com/repos/StackExchange/blackbox","labels_url":"https://api.github.com/repos/StackExchange/blackbox/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/StackExchange/blackbox/issues/152/comments","events_url":"https://api.github.com/repos/StackExchange/blackbox/issues/152/events","html_url":"https://github.com/StackExchange/blackbox/issues/152","id":150584215,"number":152,"title":"`blackbox_addadmin` will add an invalid user to `blackbox-admins.txt`; ","user":{"login":"jvanasco","id":204779,"avatar_url":"https://avatars.githubusercontent.com/u/204779?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanasco","html_url":"https://github.com/jvanasco","followers_url":"https://api.github.com/users/jvanasco/followers","following_url":"https://api.github.com/users/jvanasco/following{/other_user}","gists_url":"https://api.github.com/users/jvanasco/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanasco/subscriptions","organizations_url":"https://api.github.com/users/jvanasco/orgs","repos_url":"https://api.github.com/users/jvanasco/repos","events_url":"https://api.github.com/users/jvanasco/events{/privacy}","received_events_url":"https://api.github.com/users/jvanasco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-23T18:49:55Z","updated_at":"2016-04-25T21:57:02Z","closed_at":"2016-04-25T21:57:02Z","body":"the current order of operations is:\r\n\r\n* edit blackbox-admins.txt\r\n* verify the key\r\n* add the key\r\n\r\nsuggested order of operations\r\n \r\n* verify the key\r\n* add the key\r\n* edit blackbox-admins.txt\r\n\r\nIt's also worth nothing that `blackbox_removeadmin` will check the key before deleting the record -- so this happens:\r\n\r\n    blackbox_addadmin INVALID\r\n\r\nwill add INVALID to blackbox-admins.txt\r\n\r\n   blackbox_removeadmin INVALID\r\n\r\nwill not succed"}}