{"action":"created","issue":{"url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/issues/34","repository_url":"https://api.github.com/repos/mconf-ufrgs/mconf-web","labels_url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/issues/34/comments","events_url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/issues/34/events","html_url":"https://github.com/mconf-ufrgs/mconf-web/issues/34","id":153050960,"number":34,"title":"Make the list of roles that can record editable by admins","user":{"login":"mconf-daileon","id":1714273,"avatar_url":"https://avatars.githubusercontent.com/u/1714273?v=3","gravatar_id":"","url":"https://api.github.com/users/mconf-daileon","html_url":"https://github.com/mconf-daileon","followers_url":"https://api.github.com/users/mconf-daileon/followers","following_url":"https://api.github.com/users/mconf-daileon/following{/other_user}","gists_url":"https://api.github.com/users/mconf-daileon/gists{/gist_id}","starred_url":"https://api.github.com/users/mconf-daileon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mconf-daileon/subscriptions","organizations_url":"https://api.github.com/users/mconf-daileon/orgs","repos_url":"https://api.github.com/users/mconf-daileon/repos","events_url":"https://api.github.com/users/mconf-daileon/events{/privacy}","received_events_url":"https://api.github.com/users/mconf-daileon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/labels/prio:medium","name":"prio:medium","color":"c4686a"},{"url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/labels/type:feature","name":"type:feature","color":"fbe383"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/milestones/1","html_url":"https://github.com/mconf-ufrgs/mconf-web/milestones/v2.0.0","labels_url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/milestones/1/labels","id":1748037,"number":1,"title":"v2.0.0","description":null,"creator":{"login":"mconf-daileon","id":1714273,"avatar_url":"https://avatars.githubusercontent.com/u/1714273?v=3","gravatar_id":"","url":"https://api.github.com/users/mconf-daileon","html_url":"https://github.com/mconf-daileon","followers_url":"https://api.github.com/users/mconf-daileon/followers","following_url":"https://api.github.com/users/mconf-daileon/following{/other_user}","gists_url":"https://api.github.com/users/mconf-daileon/gists{/gist_id}","starred_url":"https://api.github.com/users/mconf-daileon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mconf-daileon/subscriptions","organizations_url":"https://api.github.com/users/mconf-daileon/orgs","repos_url":"https://api.github.com/users/mconf-daileon/repos","events_url":"https://api.github.com/users/mconf-daileon/events{/privacy}","received_events_url":"https://api.github.com/users/mconf-daileon/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":11,"state":"open","created_at":"2016-05-04T16:01:22Z","updated_at":"2016-05-04T16:05:50Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-04T16:03:30Z","updated_at":"2016-05-04T16:05:50Z","closed_at":"2016-05-04T16:05:50Z","body":"---\n\n\nAuthor Name: **Leonardo Daronco** (Leonardo Daronco)\nOriginal Redmine Issue: 1708, http://dev.mconf.org/redmine/issues/1708\nOriginal Date: 2015-07-30\nOriginal Assignee: Daniela Cavalheiro\n\n---\n\nCurrently there's a static list of user roles, or enrollments, that are allowed to record. This list is hard coded, see https://github.com/mconf-ufrgs/mconf-web/blob/3806d89abd2cdec8541005ede5a642816f17d5a9/app/models/user.rb#L319\r\n\r\nThis list should be moved to the model Site and be editable together with all other website configurations (domain, description, SMTP options, etc).\r\nThere shouldn't be a limit in the number of enrollments accepted and an empty value should also be accepted (meaning that nobody can record).\n\n\n"},"comment":{"url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/issues/comments/216913698","html_url":"https://github.com/mconf-ufrgs/mconf-web/issues/34#issuecomment-216913698","issue_url":"https://api.github.com/repos/mconf-ufrgs/mconf-web/issues/34","id":216913698,"user":{"login":"mconf-daileon","id":1714273,"avatar_url":"https://avatars.githubusercontent.com/u/1714273?v=3","gravatar_id":"","url":"https://api.github.com/users/mconf-daileon","html_url":"https://github.com/mconf-daileon","followers_url":"https://api.github.com/users/mconf-daileon/followers","following_url":"https://api.github.com/users/mconf-daileon/following{/other_user}","gists_url":"https://api.github.com/users/mconf-daileon/gists{/gist_id}","starred_url":"https://api.github.com/users/mconf-daileon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mconf-daileon/subscriptions","organizations_url":"https://api.github.com/users/mconf-daileon/orgs","repos_url":"https://api.github.com/users/mconf-daileon/repos","events_url":"https://api.github.com/users/mconf-daileon/events{/privacy}","received_events_url":"https://api.github.com/users/mconf-daileon/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T16:05:50Z","updated_at":"2016-05-04T16:05:50Z","body":"Duplicates #35"}}