{"action":"closed","issue":{"url":"https://api.github.com/repos/hello-gem/hello/issues/12","labels_url":"https://api.github.com/repos/hello-gem/hello/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/hello-gem/hello/issues/12/comments","events_url":"https://api.github.com/repos/hello-gem/hello/issues/12/events","html_url":"https://github.com/hello-gem/hello/issues/12","id":110352389,"number":12,"title":"Extract code from UserModelRoles","user":{"login":"thejamespinto","id":335238,"avatar_url":"https://avatars.githubusercontent.com/u/335238?v=3","gravatar_id":"","url":"https://api.github.com/users/thejamespinto","html_url":"https://github.com/thejamespinto","followers_url":"https://api.github.com/users/thejamespinto/followers","following_url":"https://api.github.com/users/thejamespinto/following{/other_user}","gists_url":"https://api.github.com/users/thejamespinto/gists{/gist_id}","starred_url":"https://api.github.com/users/thejamespinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejamespinto/subscriptions","organizations_url":"https://api.github.com/users/thejamespinto/orgs","repos_url":"https://api.github.com/users/thejamespinto/repos","events_url":"https://api.github.com/users/thejamespinto/events{/privacy}","received_events_url":"https://api.github.com/users/thejamespinto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hello-gem/hello/labels/Easy","name":"Easy","color":"207de5"},{"url":"https://api.github.com/repos/hello-gem/hello/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/hello-gem/hello/labels/Goal%20Authentication","name":"Goal Authentication","color":"c92f2f"},{"url":"https://api.github.com/repos/hello-gem/hello/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hello-gem/hello/milestones/1","html_url":"https://github.com/hello-gem/hello/milestones/0.1.0","labels_url":"https://api.github.com/repos/hello-gem/hello/milestones/1/labels","id":1345651,"number":1,"title":"0.1.0","description":"First Public Release","creator":{"login":"thejamespinto","id":335238,"avatar_url":"https://avatars.githubusercontent.com/u/335238?v=3","gravatar_id":"","url":"https://api.github.com/users/thejamespinto","html_url":"https://github.com/thejamespinto","followers_url":"https://api.github.com/users/thejamespinto/followers","following_url":"https://api.github.com/users/thejamespinto/following{/other_user}","gists_url":"https://api.github.com/users/thejamespinto/gists{/gist_id}","starred_url":"https://api.github.com/users/thejamespinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejamespinto/subscriptions","organizations_url":"https://api.github.com/users/thejamespinto/orgs","repos_url":"https://api.github.com/users/thejamespinto/repos","events_url":"https://api.github.com/users/thejamespinto/events{/privacy}","received_events_url":"https://api.github.com/users/thejamespinto/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2015-10-08T23:04:54Z","updated_at":"2015-11-01T00:53:04Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-10-08T01:05:29Z","updated_at":"2015-11-01T00:53:04Z","closed_at":"2015-11-01T00:53:04Z","body":"[module Hello::UserModelRoles](https://github.com/hello-gem/hello/blob/bb25860306fbe63f5753a732b378511b1880d5b8/lib/hello/rails/model/user_model_roles.rb) should be extracted to [templates/user.rb](https://github.com/hello-gem/hello/blob/bb25860306fbe63f5753a732b378511b1880d5b8/lib/generators/hello/install/templates/user.rb)\r\n\r\nIt should be explicit how to configure Hello's internal authorization system to respond and adept to any complex hierarchy of roles they wish to implement simply by overriding Hello's defaults."}}