Bug 847805 - [MLA] User with DiskCreator role can not create disks in Admin Portal.
Summary: [MLA] User with DiskCreator role can not create disks in Admin Portal.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Oved Ourfali
QA Contact: Dafna Ron
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-13 15:41 UTC by Leonid Natapov
Modified: 2016-02-10 19:13 UTC (History)
10 users (show)

Fixed In Version: si15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:04:42 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leonid Natapov 2012-08-13 15:41:38 UTC
[MLA] User with DiskCreator role can not create disks in Admin Portal.
Getting "User not authorized error".

Scenario:
User with permissions on DataCenter (or SD or Cluster) and DiskCreator role. User also have some admin role in order to be able to log into admin portal.

User can not create disks (floating disks) despite the DiskCreator role.

AddDisk function receives VmID as parameter and in case when there is no VM (floating disks) it expects the VmID to be null. But VmID is not null (this is the bug). In UserPortal this won't happen because there is always a VM when creating a disk. No possibility to create floating disks in UserPortal.

Comment 1 Oved Ourfali 2012-08-14 05:14:50 UTC
Commit: 0abe9f2e7ab5326c043b620fb0e775dfd5f7a2a7

http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=0abe9f2e7ab5326c043b620fb0e775dfd5f7a2a7

Comment 4 Dafna Ron 2012-09-02 14:42:35 UTC
checked on si16. 
i was able to create a floating disk from the UI but I created a VM when my user had UserRole and I was unable to create a disk for the vm after speaking to oved, we need to give VmManager to the user.
but this bug is verified since we can create floating disks with DiskCreator.


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