{"action":"created","issue":{"url":"https://api.github.com/repos/stxnext-csr/volontulo/issues/428","repository_url":"https://api.github.com/repos/stxnext-csr/volontulo","labels_url":"https://api.github.com/repos/stxnext-csr/volontulo/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/stxnext-csr/volontulo/issues/428/comments","events_url":"https://api.github.com/repos/stxnext-csr/volontulo/issues/428/events","html_url":"https://github.com/stxnext-csr/volontulo/issues/428","id":131085064,"number":428,"title":"Admin user creation","user":{"login":"Yog","id":432220,"avatar_url":"https://avatars.githubusercontent.com/u/432220?v=3","gravatar_id":"","url":"https://api.github.com/users/Yog","html_url":"https://github.com/Yog","followers_url":"https://api.github.com/users/Yog/followers","following_url":"https://api.github.com/users/Yog/following{/other_user}","gists_url":"https://api.github.com/users/Yog/gists{/gist_id}","starred_url":"https://api.github.com/users/Yog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yog/subscriptions","organizations_url":"https://api.github.com/users/Yog/orgs","repos_url":"https://api.github.com/users/Yog/repos","events_url":"https://api.github.com/users/Yog/events{/privacy}","received_events_url":"https://api.github.com/users/Yog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stxnext-csr/volontulo/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/stxnext-csr/volontulo/labels/hackaton","name":"hackaton","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-03T16:51:22Z","updated_at":"2016-02-05T09:32:06Z","closed_at":null,"body":"This account is crucial for complete offer flow. \r\nAdmin user is owned by those who validate organization offers for public view. \r\nCurrently it can only be created by changing flags directly in database. This can change by eighter:\r\n1. first registered user will be an admin\r\n2. if there is no admin, there is an additional checkbox on register form. If it is checked, then that account will be an admin\r\n3. there is special url for `admin-reqistration` Where a reguistration form described in 2. is present\r\n4. Admins could have ability to visit user profiles of others and select them as admins with a checkbox visible only to admins. An admin could possibly resign from being an admin this way\r\n5. *Make it your own way.* "},"comment":{"url":"https://api.github.com/repos/stxnext-csr/volontulo/issues/comments/180269456","html_url":"https://github.com/stxnext-csr/volontulo/issues/428#issuecomment-180269456","issue_url":"https://api.github.com/repos/stxnext-csr/volontulo/issues/428","id":180269456,"user":{"login":"magul","id":1165138,"avatar_url":"https://avatars.githubusercontent.com/u/1165138?v=3","gravatar_id":"","url":"https://api.github.com/users/magul","html_url":"https://github.com/magul","followers_url":"https://api.github.com/users/magul/followers","following_url":"https://api.github.com/users/magul/following{/other_user}","gists_url":"https://api.github.com/users/magul/gists{/gist_id}","starred_url":"https://api.github.com/users/magul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magul/subscriptions","organizations_url":"https://api.github.com/users/magul/orgs","repos_url":"https://api.github.com/users/magul/repos","events_url":"https://api.github.com/users/magul/events{/privacy}","received_events_url":"https://api.github.com/users/magul/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T09:32:06Z","updated_at":"2016-02-05T09:32:06Z","body":"Another (and prefered) way of creating admin user is making it possible using django script (like we are already initializing DB with badges)."}}