Bug 1004227

Summary: NetworkUser can't see all networks when he has system permissions.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: aberezin, acathrow, danken, iheim, lpeer, myakove, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Reopened, Triaged, ZStream
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-16 15:28:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1008544    

Description Ondra Machacek 2013-09-04 08:53:18 UTC
Description of problem:
When User has NetworkUser role on system, then he can't see all networks in
system. He can only see networks which are attached to cluster, and to vnic.

Version-Release number of selected component (if applicable):
sf20

How reproducible:
always

Steps to Reproduce:
1. Create 2 networks, network1 and network2.
2. Attach network1 to cluster.
3. Create vm and add vnic to this vm with network1.
4. Add user and add him NetworkUser role on system.
5. As user check /api/networks

Actual results:
User can see only network1, and he can't see network2.

Expected results:
User can see both networks.

Additional info:

Comment 1 Dan Kenigsberg 2013-09-16 12:17:17 UTC
(01:11:51 PM) masayag: https://bugzilla.redhat.com/show_bug.cgi?id=1004227 should be cloned for Z-stream and be closed on 3.3 as CURRENT_RELEASE
(01:12:30 PM) masayag: it is relevant only for 3.2 since there we used to have permissions on network while on 3.3 we set the user permissions on the vnic profiles

Comment 2 Arthur Berezin 2013-09-16 12:44:24 UTC
Is same behaviour experienced in UI?