Bug 1386289 - [z-stream clone - 3.6.10] User can't assign CPU profile after upgrade from 3.6 to 4.0
Summary: [z-stream clone - 3.6.10] User can't assign CPU profile after upgrade from 3....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.10
: ---
Assignee: Andrej Krejcir
QA Contact: Shira Maximov
URL:
Whiteboard:
: 1389764 (view as bug list)
Depends On: 1369046
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 14:49 UTC by rhev-integ
Modified: 2020-06-11 13:02 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: When checking permissions for a cpu profile group permissions were not considered. Consequence: Users part of a group could not assign a cpu profile and so could not start a vm. Fix: Use PermissionDao and correct SQL functions when checking permissions. Result: Group permissions are considered.
Clone Of: 1369046
Environment:
Last Closed: 2017-01-17 18:04:49 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2389071 0 None None None 2016-10-21 17:48:27 UTC
Red Hat Product Errata RHEA-2017:0108 0 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.10 2017-01-17 22:48:34 UTC
oVirt gerrit 62822 0 master MERGED core: Fix cpu profile group permissions 2016-10-18 14:50:11 UTC
oVirt gerrit 63021 0 master MERGED core: Add CDI and unit tests for CpuProfileHelper 2016-10-18 14:50:11 UTC
oVirt gerrit 65568 0 None None None 2016-10-19 08:40:50 UTC
oVirt gerrit 65569 0 None None None 2016-10-19 08:41:32 UTC

Comment 4 Michal Skrivanek 2016-11-01 12:34:41 UTC
*** Bug 1389764 has been marked as a duplicate of this bug. ***

Comment 5 Shira Maximov 2016-11-15 13:39:23 UTC
verified on : 
Red Hat Enterprise Virtualization Manager Version: 3.6.10-0.1.el6


verification steps:
1) Create a user X, a group  Y , and add the user  to the group
2) Remove the permissions CpuProfileOperator for 'Everyone' on a CPU profile
3) Add VmCreator permission for the user X on the cluster
4) Try to create a VM with the CPU profile in the userportal - WORK
5) Remove the permissions for the user 'X' and add the same permission for the group 'Y'
6) Create VM in the userportal - WORK

Comment 7 errata-xmlrpc 2017-01-17 18:04:49 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.

https://rhn.redhat.com/errata/RHEA-2017-0108.html


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