Bug 1385598 - Any org/loc context acts as None org/loc
Summary: Any org/loc context acts as None org/loc
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Organizations and Locations
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-17 11:37 UTC by Roman Plevka
Modified: 2018-06-06 12:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-06 12:57:03 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21854 0 None None None 2017-12-04 14:22:01 UTC

Description Roman Plevka 2016-10-17 11:37:24 UTC
Description of problem:
One example for all:
create a Partition table (PT) and do not assign it to any Org/Loc.
The PT will be visible only under 'Any Org/Loc' context.
Now assign the PT to an Operating System (OS) and try to create a new host with a Default loc/org and the above OS and PT.

Actual result:
You can choose the OS (as that one is not context-limited) but you can't see the PT as it doesn't have the 'Default Org/Loc' specified.

Expected result:
If *Any org/loc* really acted as *Any*, it wouldn't matter which context we operate under.
But since it acts as *None*, we can only use it if we create the host under 'Any loc/org' - which is even not possible.

Version-Release number of selected component (if applicable):
satellite 6.2.0+

How reproducible:
always


Additional info:
This applies to all entities.

Comment 4 Ondřej Pražák 2017-12-04 14:21:59 UTC
Created redmine issue http://projects.theforeman.org/issues/21854 from this bug

Comment 5 Daniel Lobato Garcia 2018-06-06 12:57:03 UTC
This has been talked about many times. 

Any loc/org means you're able to see anything assigned to any of your organizations/locations. 

It does not mean stuff without an organization/location belongs to any. In fact, anything that can be scoped under organization/location but is not scoped, as you mention in the report (Partition Table) will not be visible to anyone but admins. 

This is by design, users can only see what is in their scopes. Admins can see unscoped stuff.

I'm closing this and the upstream bug for the time being, I can refer you to multiple discussions about the behavior if needed. Feel free to reopen if I missed something.


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