{"action":"opened","number":8501,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8501","id":69145431,"html_url":"https://github.com/ManageIQ/manageiq/pull/8501","diff_url":"https://github.com/ManageIQ/manageiq/pull/8501.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/8501.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8501","number":8501,"state":"open","locked":false,"title":"Add selected group to group select box in ownership screen","user":{"login":"lpichler","id":14937244,"avatar_url":"https://avatars.githubusercontent.com/u/14937244?v=3","gravatar_id":"","url":"https://api.github.com/users/lpichler","html_url":"https://github.com/lpichler","followers_url":"https://api.github.com/users/lpichler/followers","following_url":"https://api.github.com/users/lpichler/following{/other_user}","gists_url":"https://api.github.com/users/lpichler/gists{/gist_id}","starred_url":"https://api.github.com/users/lpichler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpichler/subscriptions","organizations_url":"https://api.github.com/users/lpichler/orgs","repos_url":"https://api.github.com/users/lpichler/repos","events_url":"https://api.github.com/users/lpichler/events{/privacy}","received_events_url":"https://api.github.com/users/lpichler/received_events","type":"User","site_admin":false},"body":"https://bugzilla.redhat.com/show_bug.cgi?id=1330022\r\n\r\nWe are listing user's groups in group select box in ownership screen for non-admin users, but\r\nwhen administrator will select group or tenant which is not included in this list then this group is not displayed.\r\n\r\nso I am adding this extra group to this group list also. \r\nThis not done for user select box because there is <no user> option.\r\n\r\nexample, let's assume: \r\nNon-user has only group G1.\r\nAdmin will select some tenant for the VM. \r\nThe non-user can see the VM because of related tenant strategy and he see in set owner ship screen:\r\n\r\nbefore\r\n<img width=\"870\" alt=\"screen shot 2016-05-06 at 14 39 06\" src=\"https://cloud.githubusercontent.com/assets/14937244/15073185/70efe6ac-1398-11e6-8e72-2a4283912c50.png\">\r\n\r\nafter\r\n<img width=\"892\" alt=\"screen shot 2016-05-06 at 14 41 04\" src=\"https://cloud.githubusercontent.com/assets/14937244/15073222/a56005a2-1398-11e6-9d14-2293d8b33c2f.png\">\r\n\r\ncc @gtanzillo \r\n\r\n\r\n\r\n","created_at":"2016-05-06T12:42:58Z","updated_at":"2016-05-06T12:42:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8501/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8501/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8501/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/6b6aa0be327485d4f74606448cf65517c52cf9f1","head":{"label":"lpichler:add_really_selected_object_to_ownership_screen","ref":"add_really_selected_object_to_ownership_screen","sha":"6b6aa0be327485d4f74606448cf65517c52cf9f1","user":{"login":"lpichler","id":14937244,"avatar_url":"https://avatars.githubusercontent.com/u/14937244?v=3","gravatar_id":"","url":"https://api.github.com/users/lpichler","html_url":"https://github.com/lpichler","followers_url":"https://api.github.com/users/lpichler/followers","following_url":"https://api.github.com/users/lpichler/following{/other_user}","gists_url":"https://api.github.com/users/lpichler/gists{/gist_id}","starred_url":"https://api.github.com/users/lpichler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpichler/subscriptions","organizations_url":"https://api.github.com/users/lpichler/orgs","repos_url":"https://api.github.com/users/lpichler/repos","events_url":"https://api.github.com/users/lpichler/events{/privacy}","received_events_url":"https://api.github.com/users/lpichler/received_events","type":"User","site_admin":false},"repo":{"id":43540953,"name":"manageiq","full_name":"lpichler/manageiq","owner":{"login":"lpichler","id":14937244,"avatar_url":"https://avatars.githubusercontent.com/u/14937244?v=3","gravatar_id":"","url":"https://api.github.com/users/lpichler","html_url":"https://github.com/lpichler","followers_url":"https://api.github.com/users/lpichler/followers","following_url":"https://api.github.com/users/lpichler/following{/other_user}","gists_url":"https://api.github.com/users/lpichler/gists{/gist_id}","starred_url":"https://api.github.com/users/lpichler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpichler/subscriptions","organizations_url":"https://api.github.com/users/lpichler/orgs","repos_url":"https://api.github.com/users/lpichler/repos","events_url":"https://api.github.com/users/lpichler/events{/privacy}","received_events_url":"https://api.github.com/users/lpichler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpichler/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/lpichler/manageiq","forks_url":"https://api.github.com/repos/lpichler/manageiq/forks","keys_url":"https://api.github.com/repos/lpichler/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpichler/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpichler/manageiq/teams","hooks_url":"https://api.github.com/repos/lpichler/manageiq/hooks","issue_events_url":"https://api.github.com/repos/lpichler/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/lpichler/manageiq/events","assignees_url":"https://api.github.com/repos/lpichler/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/lpichler/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/lpichler/manageiq/tags","blobs_url":"https://api.github.com/repos/lpichler/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpichler/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpichler/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpichler/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpichler/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/lpichler/manageiq/languages","stargazers_url":"https://api.github.com/repos/lpichler/manageiq/stargazers","contributors_url":"https://api.github.com/repos/lpichler/manageiq/contributors","subscribers_url":"https://api.github.com/repos/lpichler/manageiq/subscribers","subscription_url":"https://api.github.com/repos/lpichler/manageiq/subscription","commits_url":"https://api.github.com/repos/lpichler/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpichler/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpichler/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpichler/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpichler/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/lpichler/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpichler/manageiq/merges","archive_url":"https://api.github.com/repos/lpichler/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpichler/manageiq/downloads","issues_url":"https://api.github.com/repos/lpichler/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/lpichler/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/lpichler/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/lpichler/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpichler/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/lpichler/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/lpichler/manageiq/deployments","created_at":"2015-10-02T07:37:28Z","updated_at":"2016-01-11T09:22:37Z","pushed_at":"2016-05-06T12:26:20Z","git_url":"git://github.com/lpichler/manageiq.git","ssh_url":"git@github.com:lpichler/manageiq.git","clone_url":"https://github.com/lpichler/manageiq.git","svn_url":"https://github.com/lpichler/manageiq","homepage":"manageiq.org","size":123374,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"73fe796417424ac3ca9c6ae8e7a51e76d1d52512","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-05-05T13:46:55Z","pushed_at":"2016-05-06T12:21:01Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":161775,"stargazers_count":263,"watchers_count":263,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":275,"mirror_url":null,"open_issues_count":614,"forks":275,"open_issues":614,"watchers":263,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8501"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/8501"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/8501"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/8501/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8501/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8501/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/6b6aa0be327485d4f74606448cf65517c52cf9f1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":17,"deletions":1,"changed_files":2}}