{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/3984","repository_url":"https://api.github.com/repos/theforeman/foreman","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/3984/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/3984/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/3984/events","html_url":"https://github.com/theforeman/foreman/pull/3984","id":186571186,"number":3984,"title":"Fixes #16739 - unify parameters permissions","user":{"login":"ares","id":109773,"avatar_url":"https://avatars.githubusercontent.com/u/109773?v=3","gravatar_id":"","url":"https://api.github.com/users/ares","html_url":"https://github.com/ares","followers_url":"https://api.github.com/users/ares/followers","following_url":"https://api.github.com/users/ares/following{/other_user}","gists_url":"https://api.github.com/users/ares/gists{/gist_id}","starred_url":"https://api.github.com/users/ares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ares/subscriptions","organizations_url":"https://api.github.com/users/ares/orgs","repos_url":"https://api.github.com/users/ares/repos","events_url":"https://api.github.com/users/ares/events{/privacy}","received_events_url":"https://api.github.com/users/ares/received_events","type":"User","site_admin":false},"labels":[{"id":79040160,"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20re-review","name":"Needs re-review","color":"0052cc","default":false},{"id":79040689,"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-01T15:57:19Z","updated_at":"2016-11-19T19:45:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/3984","html_url":"https://github.com/theforeman/foreman/pull/3984","diff_url":"https://github.com/theforeman/foreman/pull/3984.diff","patch_url":"https://github.com/theforeman/foreman/pull/3984.patch"},"body":"This unifies `view_globals` used for global parameters with `view_params` used for the rest of parameters. And all other similar permissions of course. Shared and only resource type for such filters is `Parameter`. It also fixes the autocompletion for parameter filters so you can define a fllter like this\r\n\r\n    \"name ~ a* or domain_name ~ example*com\"\r\n\r\nother resources can be used too, e.g. host_name, hostgroup_name, subnet_name etc. One can also filter on type so to limit to global parameters only we can use `type = CommonParameter` condition. And finally, it adds integration test covering granular permissions for user.\r\n\r\nThe PR includes the migration for existing CommonParameter filters."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/261735079","html_url":"https://github.com/theforeman/foreman/pull/3984#issuecomment-261735079","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/3984","id":261735079,"user":{"login":"ares","id":109773,"avatar_url":"https://avatars.githubusercontent.com/u/109773?v=3","gravatar_id":"","url":"https://api.github.com/users/ares","html_url":"https://github.com/ares","followers_url":"https://api.github.com/users/ares/followers","following_url":"https://api.github.com/users/ares/following{/other_user}","gists_url":"https://api.github.com/users/ares/gists{/gist_id}","starred_url":"https://api.github.com/users/ares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ares/subscriptions","organizations_url":"https://api.github.com/users/ares/orgs","repos_url":"https://api.github.com/users/ares/repos","events_url":"https://api.github.com/users/ares/events{/privacy}","received_events_url":"https://api.github.com/users/ares/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T19:45:05Z","updated_at":"2016-11-19T19:45:05Z","body":"[test foreman]"}}
{"actor":{"display_login":"ares"}}