Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1090660 - SuperUser of DataCenter X cannot approve a host under this Data Center
SuperUser of DataCenter X cannot approve a host under this Data Center
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.3.0
All Linux
high Severity high
: ---
: 3.4.0
Assigned To: Oved Ourfali
Petr Beňas
infra
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-23 17:34 EDT by Marina
Modified: 2016-02-10 14:39 EST (History)
13 users (show)

See Also:
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 11:06:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 798823 None None None Never
oVirt gerrit 27148 master MERGED core: SuperUser of DataCenter X cannot approve a host under this Data Center Never
oVirt gerrit 27349 ovirt-engine-3.4 MERGED core: SuperUser of DataCenter X cannot approve a host under this Data Center Never
Red Hat Product Errata RHSA-2014:0506 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.4.0 update 2014-06-09 14:55:38 EDT

  None (edit)
Description Marina 2014-04-23 17:34:57 EDT
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 10:58:48 EDT
Reproduced in av8.1 and verified in av9.
Comment 10 errata-xmlrpc 2014-06-09 11:06:09 EDT
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

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