Bug 1217283 - pool page should not show systems which the user does not have access to see
Summary: pool page should not show systems which the user does not have access to see
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 20.2
Assignee: matt jia
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-30 00:47 UTC by Dan Callaghan
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-14 08:04:46 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.