Bug 838167

Summary: Autogroups don't generate shareable links in the RHQ UI
Product: [Other] RHQ Project Reporter: Charles Crouch <ccrouch>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: hbrock, hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Charles Crouch 2012-07-06 18:13:15 EDT
Steps to reproduce:
1) Log into RHQ as User1
2) Pick a platform and click on an Autogroup from the tree, e.g. the CPUs folder
3) Record the url in the browser, e.g. http://ec2-184-72-193-95.compute-1.amazonaws.com:7080/coregui/#Resource/AutoGroup/10015
4) Log out of RHQ and log back in as User2
5) Pick the platform from step 2) and click on the same Autogroup from the tree, e.g. the CPUs folder
6) Record the url in the brower, e.g. http://ec2-184-72-193-95.compute-1.amazonaws.com:7080/coregui/#Resource/AutoGroup/10008
7) Note that the URLs are different between step 3) and 6)
8) While still logged in as User2 paste the URL from step 3) into the browser
9) Note you get an error message: "Group with id [10015] does not exist or is not accessible" and are redirected to the main Inventory page, versus being taken to the expected Autogroup 

This may be an issue with AutoCluster groups too, but I haven't checked those.

If we are going to make Autogroups linkable, then those links should be shareable between users, e.g.

http://ec2-184-72-193-95.compute-1.amazonaws.com:7080/coregui/#Resource/AutoGroup/x/y

where X is the id of the parent resource and y is the id of the autogroups resource type.