{"action":"opened","issue":{"url":"https://api.github.com/repos/SheriefBadran/EasyActApiHandler/issues/9","labels_url":"https://api.github.com/repos/SheriefBadran/EasyActApiHandler/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/SheriefBadran/EasyActApiHandler/issues/9/comments","events_url":"https://api.github.com/repos/SheriefBadran/EasyActApiHandler/issues/9/events","html_url":"https://github.com/SheriefBadran/EasyActApiHandler/issues/9","id":57735694,"number":9,"title":"Administratörer och API-nycklar","user":{"login":"ib222dp","id":5990757,"avatar_url":"https://avatars.githubusercontent.com/u/5990757?v=3","gravatar_id":"","url":"https://api.github.com/users/ib222dp","html_url":"https://github.com/ib222dp","followers_url":"https://api.github.com/users/ib222dp/followers","following_url":"https://api.github.com/users/ib222dp/following{/other_user}","gists_url":"https://api.github.com/users/ib222dp/gists{/gist_id}","starred_url":"https://api.github.com/users/ib222dp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ib222dp/subscriptions","organizations_url":"https://api.github.com/users/ib222dp/orgs","repos_url":"https://api.github.com/users/ib222dp/repos","events_url":"https://api.github.com/users/ib222dp/events{/privacy}","received_events_url":"https://api.github.com/users/ib222dp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-15T16:26:24Z","updated_at":"2015-02-15T16:26:24Z","closed_at":null,"body":"Det gick bra att ta bort en användares API-nyckel, och när jag hade skapat en användare fanns dennes nyckel på Admins sida, men när jag tog bort Admins egna API-nyckel försvann dennes konto och jag kunde sedan inte återskapa det med rake db:seed,\r\nÄr det egentligen nödvändigt för en administratör att ha en egen API-nyckel? Om administratören använder API:et är det väl troligt att hen har både ett admin-konto och ett användarkonto?\r\nEnligt kraven på applikationen ska en administratör kunna ta bort en användares API-nyckel, inte användarens konto. \r\n"}}