{"action":"created","issue":{"url":"https://api.github.com/repos/CDLUC3/dmptool/issues/201","repository_url":"https://api.github.com/repos/CDLUC3/dmptool","labels_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/201/comments","events_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/201/events","html_url":"https://github.com/CDLUC3/dmptool/issues/201","id":189525351,"number":201,"title":"institutional_admins method in app/controllers/institutions_controller.rb hard-codes role_id of 5 for Institutional Administrators","user":{"login":"medined","id":43589,"avatar_url":"https://avatars.githubusercontent.com/u/43589?v=3","gravatar_id":"","url":"https://api.github.com/users/medined","html_url":"https://github.com/medined","followers_url":"https://api.github.com/users/medined/followers","following_url":"https://api.github.com/users/medined/following{/other_user}","gists_url":"https://api.github.com/users/medined/gists{/gist_id}","starred_url":"https://api.github.com/users/medined/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medined/subscriptions","organizations_url":"https://api.github.com/users/medined/orgs","repos_url":"https://api.github.com/users/medined/repos","events_url":"https://api.github.com/users/medined/events{/privacy}","received_events_url":"https://api.github.com/users/medined/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T22:27:40Z","updated_at":"2016-11-15T23:17:22Z","closed_at":null,"body":"The test sql provided with the project has an id of 5 for the Institutional Administrator role. However, this constraint should not be placed on all configurations. \r\n\r\n```\r\ndef institutional_admins\r\n    @user_ids = Authorization.where(role_id: 5).pluck(:user_id) #All the institutional_admins\r\n    ...\r\n  end\r\n```"},"comment":{"url":"https://api.github.com/repos/CDLUC3/dmptool/issues/comments/260801686","html_url":"https://github.com/CDLUC3/dmptool/issues/201#issuecomment-260801686","issue_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/201","id":260801686,"user":{"login":"briri","id":1204467,"avatar_url":"https://avatars.githubusercontent.com/u/1204467?v=3","gravatar_id":"","url":"https://api.github.com/users/briri","html_url":"https://github.com/briri","followers_url":"https://api.github.com/users/briri/followers","following_url":"https://api.github.com/users/briri/following{/other_user}","gists_url":"https://api.github.com/users/briri/gists{/gist_id}","starred_url":"https://api.github.com/users/briri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briri/subscriptions","organizations_url":"https://api.github.com/users/briri/orgs","repos_url":"https://api.github.com/users/briri/repos","events_url":"https://api.github.com/users/briri/events{/privacy}","received_events_url":"https://api.github.com/users/briri/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T23:17:22Z","updated_at":"2016-11-15T23:17:22Z","body":"Great catch @medined. Feel free to send a pull request to address this if you have time. Otherwise I'll try to get to it later this week or next week."}}
{"actor":{"display_login":"briri"}}