{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4904","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4904/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4904/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4904/events","html_url":"https://github.com/ManageIQ/manageiq/pull/4904","id":111669386,"number":4904,"title":"Domain Overrides by Priority fixed for Tenants","user":{"login":"mkanoor","id":6452699,"avatar_url":"https://avatars.githubusercontent.com/u/6452699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkanoor","html_url":"https://github.com/mkanoor","followers_url":"https://api.github.com/users/mkanoor/followers","following_url":"https://api.github.com/users/mkanoor/following{/other_user}","gists_url":"https://api.github.com/users/mkanoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkanoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkanoor/subscriptions","organizations_url":"https://api.github.com/users/mkanoor/orgs","repos_url":"https://api.github.com/users/mkanoor/repos","events_url":"https://api.github.com/users/mkanoor/events{/privacy}","received_events_url":"https://api.github.com/users/mkanoor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/automate","name":"automate","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/tenancy","name":"tenancy","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T17:39:26Z","updated_at":"2015-10-15T18:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/4904","html_url":"https://github.com/ManageIQ/manageiq/pull/4904","diff_url":"https://github.com/ManageIQ/manageiq/pull/4904.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/4904.patch"},"body":"Finding the list of similarly named instances, classes, methods wasn't\r\nexcluding the domains from different tenants. Modified code to pass\r\nin the user object from the UI so that the visible domains for the\r\nuser can be used."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/148488210","html_url":"https://github.com/ManageIQ/manageiq/pull/4904#issuecomment-148488210","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4904","id":148488210,"user":{"login":"gmcculloug","id":2591569,"avatar_url":"https://avatars.githubusercontent.com/u/2591569?v=3","gravatar_id":"","url":"https://api.github.com/users/gmcculloug","html_url":"https://github.com/gmcculloug","followers_url":"https://api.github.com/users/gmcculloug/followers","following_url":"https://api.github.com/users/gmcculloug/following{/other_user}","gists_url":"https://api.github.com/users/gmcculloug/gists{/gist_id}","starred_url":"https://api.github.com/users/gmcculloug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmcculloug/subscriptions","organizations_url":"https://api.github.com/users/gmcculloug/orgs","repos_url":"https://api.github.com/users/gmcculloug/repos","events_url":"https://api.github.com/users/gmcculloug/events{/privacy}","received_events_url":"https://api.github.com/users/gmcculloug/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T18:57:10Z","updated_at":"2015-10-15T18:57:10Z","body":"@mkanoor Is there a need to pass the current user everywhere when all you are really accessing is the tenant?  Should we instead be passing `current_tenant` into the methods?"}}