Bug 1008544

Summary: NetworkUser can't see all networks when he has system permissions.
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: GenadiC <gcheresh>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: aberezin, acathrow, danken, iheim, lpeer, myakove, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: 3.2.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A user with a system-wide NetworkUser role can now correctly view all the networks in the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-25 18:44:15 UTC Type: ---
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: 1004227    
Bug Blocks:    

Description rhev-integ 2013-09-16 14:55:33 UTC
+++ This bug is a RHEV-M zstream clone. The original bug is: +++
+++   https://bugzilla.redhat.com/show_bug.cgi?id=1004227. +++

======================================================================



----------------------------------------------------------------------
Following comment by omachace on September 04 at 08:53:18, 2013

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:

----------------------------------------------------------------------
Following comment by danken on September 16 at 12:17:17, 2013

(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

----------------------------------------------------------------------
Following comment by aberezin on September 16 at 12:44:24, 2013

Is same behaviour experienced in UI?

----------------------------------------------------------------------
Following comment by italkohe on September 16 at 14:52:53, 2013

Changing bug status in order to clone it to 3.2.4.

Comment 2 GenadiC 2013-10-13 08:01:19 UTC
Verified on rhevm-3.2.4-0.44.el6ev.noarch

Comment 4 errata-xmlrpc 2013-10-25 18:44:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1468.html