{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/1759","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/1759/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/1759/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/1759/events","html_url":"https://github.com/snipe/snipe-it/issues/1759","id":133103256,"number":1759,"title":"Generated admin user is not superadmin","user":{"login":"dankeller","id":1724950,"avatar_url":"https://avatars.githubusercontent.com/u/1724950?v=3","gravatar_id":"","url":"https://api.github.com/users/dankeller","html_url":"https://github.com/dankeller","followers_url":"https://api.github.com/users/dankeller/followers","following_url":"https://api.github.com/users/dankeller/following{/other_user}","gists_url":"https://api.github.com/users/dankeller/gists{/gist_id}","starred_url":"https://api.github.com/users/dankeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankeller/subscriptions","organizations_url":"https://api.github.com/users/dankeller/orgs","repos_url":"https://api.github.com/users/dankeller/repos","events_url":"https://api.github.com/users/dankeller/events{/privacy}","received_events_url":"https://api.github.com/users/dankeller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T22:23:12Z","updated_at":"2016-02-15T14:11:27Z","closed_at":null,"body":"Hi,\r\n\r\nI'm on version 2.1.0-8. Using admin user that was generated on install, I cannot delete users. Looking at related issues, discovered I needed to be superadmin, but I am not for some reason, and only superadmins can edit permissions. Seem to be in a catch-22.\r\n\r\nCan I edit a database entry to fix this?"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/184221856","html_url":"https://github.com/snipe/snipe-it/issues/1759#issuecomment-184221856","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/1759","id":184221856,"user":{"login":"dankeller","id":1724950,"avatar_url":"https://avatars.githubusercontent.com/u/1724950?v=3","gravatar_id":"","url":"https://api.github.com/users/dankeller","html_url":"https://github.com/dankeller","followers_url":"https://api.github.com/users/dankeller/followers","following_url":"https://api.github.com/users/dankeller/following{/other_user}","gists_url":"https://api.github.com/users/dankeller/gists{/gist_id}","starred_url":"https://api.github.com/users/dankeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankeller/subscriptions","organizations_url":"https://api.github.com/users/dankeller/orgs","repos_url":"https://api.github.com/users/dankeller/repos","events_url":"https://api.github.com/users/dankeller/events{/privacy}","received_events_url":"https://api.github.com/users/dankeller/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T14:11:27Z","updated_at":"2016-02-15T14:11:27Z","body":"{\"admin\":1,\"user\":1}\r\n\r\nI did install this back in August, 2015 and have upgraded it a couple times if that matters. I'll update the permissions array and see if that helps."}}