{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/2060","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/2060/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/2060/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/2060/events","html_url":"https://github.com/theforeman/foreman/pull/2060","id":53802326,"number":2060,"title":"Fixes #8919 - extract the model-specific resource names into the models","user":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs+testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/theforeman/foreman/labels/Not+yet+reviewed","name":"Not yet reviewed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-08T21:18:53Z","updated_at":"2015-01-19T15:37:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/2060","html_url":"https://github.com/theforeman/foreman/pull/2060","diff_url":"https://github.com/theforeman/foreman/pull/2060.diff","patch_url":"https://github.com/theforeman/foreman/pull/2060.patch"},"body":"This allows plugins also to specify non-default resource name, and prevent\nthings like STI to mess with the resource type.\n\nIn foreman-tasks, the task has STI and although there is \nForemanTasks::DynflowTask, in permissions we don't want to have it separated,\nsimilarly as we don't want different permissions for all types of operating\nsystems."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/70512954","html_url":"https://github.com/theforeman/foreman/pull/2060#issuecomment-70512954","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/2060","id":70512954,"user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T15:37:01Z","updated_at":"2015-01-19T15:37:01Z","body":"@jlsherrill commit was right, PR title wasn't"}}