Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090660

Summary: SuperUser of DataCenter X cannot approve a host under this Data Center
Product: Red Hat Enterprise Virtualization Manager Reporter: Marina Kalinin <mkalinin>
Component: ovirt-engineAssignee: Oved Ourfali <oourfali>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: high Docs Contact:
Priority: high    
Version: 3.3.0CC: aberezin, acathrow, adahms, byount, iheim, knesenko, lpeer, mkalinin, oourfali, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: All   
OS: Linux   
Whiteboard: infra
Fixed In Version: org.ovirt.engine-root-3.4.0-17 Doc Type: Bug Fix
Doc Text:
Previously, attempting to approve a host in a data center as a user with SuperUser permissions for that data center would fail under certain conditions due to an authorization error. This was caused by the logic used in the ChangeVdsCluster operation for hosts with a status of PendingApproval, in which the host would not have any assigned permissions in that state and the user did not have permissions for the default data center to which the host had been added. Now, the logic for checking permissions in the ChangeVdsCluster operation has been revised so that users with SuperUser permissions for a given data center can approve hosts added under that data center.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 15:06:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marina Kalinin 2014-04-23 21:34:57 UTC
Description of problem:
SuperUser of DataCenter X cannot approve a host under this Data Center.

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

How reproducible:
100%

Steps to Reproduce:
1. Add permissions to Data Center X for user User1.
2. Login with User1 to the Admin Portal.
3. Clicking on Approve Host, choose Data Center X and click 'ok'.

Actual results:
Cannot execute with error: "User is not authorized to perform this action."

Expected results:
Super User of Data Center should be able approving hosts within this data center.

Comment 9 Petr Beňas 2014-05-12 14:58:48 UTC
Reproduced in av8.1 and verified in av9.

Comment 10 errata-xmlrpc 2014-06-09 15:06:09 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/RHSA-2014-0506.html