{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/issues/4831","repository_url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic","labels_url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/issues/4831/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/issues/4831/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/issues/4831/events","html_url":"https://github.com/ManageIQ/manageiq-ui-classic/pull/4831","id":373912698,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NzMxNjI3","number":4831,"title":"Filter tenants in Access Control by current region","user":{"login":"ZitaNemeckova","id":9210860,"node_id":"MDQ6VXNlcjkyMTA4NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/9210860?v=4","gravatar_id":"","url":"https://api.github.com/users/ZitaNemeckova","html_url":"https://github.com/ZitaNemeckova","followers_url":"https://api.github.com/users/ZitaNemeckova/followers","following_url":"https://api.github.com/users/ZitaNemeckova/following{/other_user}","gists_url":"https://api.github.com/users/ZitaNemeckova/gists{/gist_id}","starred_url":"https://api.github.com/users/ZitaNemeckova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZitaNemeckova/subscriptions","organizations_url":"https://api.github.com/users/ZitaNemeckova/orgs","repos_url":"https://api.github.com/users/ZitaNemeckova/repos","events_url":"https://api.github.com/users/ZitaNemeckova/events{/privacy}","received_events_url":"https://api.github.com/users/ZitaNemeckova/received_events","type":"User","site_admin":false},"labels":[{"id":505074429,"node_id":"MDU6TGFiZWw1MDUwNzQ0Mjk=","url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/labels/bug","name":"bug","color":"ee0701","default":true},{"id":1069068146,"node_id":"MDU6TGFiZWwxMDY5MDY4MTQ2","url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/labels/hammer/no","name":"hammer/no","color":"000000","default":false},{"id":534302577,"node_id":"MDU6TGFiZWw1MzQzMDI1Nzc=","url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/labels/settings","name":"settings","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-25T12:02:00Z","updated_at":"2018-10-30T09:46:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/pulls/4831","html_url":"https://github.com/ManageIQ/manageiq-ui-classic/pull/4831","diff_url":"https://github.com/ManageIQ/manageiq-ui-classic/pull/4831.diff","patch_url":"https://github.com/ManageIQ/manageiq-ui-classic/pull/4831.patch"},"body":"Closes https://github.com/ManageIQ/manageiq-ui-classic/issues/4720\r\n\r\n- Have a bunch of tenants\r\n- If you have all tenants in one region `Tenant.count == Tenant.in_my_region.count` set `id` of one of tenants to something outside current region(multiple its `id` by 3 or something)\r\n- Go to Configuration -> Access Control -> click a region\r\n\r\nIn this case `cloudusers` tenant is not in `Tenant.in_my_region`\r\n\r\nBefore:\r\n![image](https://user-images.githubusercontent.com/9210860/47498572-ef1ccb80-d85d-11e8-8596-e59ef957e378.png)\r\n\r\n\r\nAfter:\r\n<img width=\"741\" alt=\"screen shot 2018-10-25 at 1 50 36 pm\" src=\"https://user-images.githubusercontent.com/9210860/47498326-3191d880-d85d-11e8-95b0-6ba79c5a0e6f.png\">\r\n\r\n@miq-bot add_label bug, hammer/no, \r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/issues/comments/434235201","html_url":"https://github.com/ManageIQ/manageiq-ui-classic/pull/4831#issuecomment-434235201","issue_url":"https://api.github.com/repos/ManageIQ/manageiq-ui-classic/issues/4831","id":434235201,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDIzNTIwMQ==","user":{"login":"miq-bot","id":7806257,"node_id":"MDQ6VXNlcjc4MDYyNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/7806257?v=4","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T09:46:42Z","updated_at":"2018-10-30T09:46:42Z","author_association":"MEMBER","body":"<rubocop />Checked commit https://github.com/ZitaNemeckova/manageiq-ui-classic/commit/b68ed5bb8aed66a68d272669560dcef2a5bff8bd with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0\n2 files checked, 0 offenses detected\nEverything looks fine. :cake:\n"}}
{"actor":{"display_login":"miq-bot"}}