Bug 1217283

Summary: pool page should not show systems which the user does not have access to see
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: matt jia <mjia>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: aigao, asaha, dcallagh, dowang, mjia
Target Milestone: 20.2Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-14 08:04:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2015-04-30 00:47:32 UTC
Steps to Reproduce:
1. Create a system, create a pool, add the system to the pool
2. Change the system's access policy to remove "view" permission from "everyone", so that the system is hidden from anonymous users
3. Log out
4. Go to the pool page and look at the list of systems

Actual results:
The "secret" system is still listed, even though clicking the link to it will result in a message saying that the system does not exist.

Expected results:
The pool page shouldn't completely hide systems which the user does not have access to see, since that would be confusing. If they forgot to log in they might think the systems are missing from the pool, when really they are just not shown.

The secret system should appear in the list as "(hidden system)" or something like that, with no hyperlink.

(The job/recipe pages have the same issue and should really employ the same solution but that's for another bug...)

Comment 1 matt jia 2015-05-05 06:53:13 UTC
On gerrit:

   http://gerrit.beaker-project.org/#/c/4199/

Comment 5 Dan Callaghan 2015-07-14 08:04:46 UTC
Beaker 20.2 has been released.