Bug 857873
| Summary: | [webadmin] Unable to create/edit vmpools in webadmin with user who has VmPoolAdmin role | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ondra Machacek <omachace> |
| Component: | ovirt-engine-webadmin-portal | Assignee: | Oved Ourfali <oourfali> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondra Machacek <omachace> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.1.0 | CC: | acathrow, dyasny, ecohen, iheim, mkenneth, Rhev-m-bugs, sgrinber, ykaul, yzaslavs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | si19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ondra Machacek
2012-09-17 10:38:50 UTC
oved - is vmpooladmin to manage a pool or create one? (In reply to comment #1) > oved - is vmpooladmin to manage a pool or create one? It should be able to do every pool-related operation (Creation, editing and deletion). (In reply to comment #0) > Description of problem: > VmPoolAdmin role cant create/edit vmpools in webadmin. > > Version-Release number of selected component (if applicable): > > > How reproducible: > always > > Steps to Reproduce: > 1. Login as admin to webadmin. > 2. Add some user to webadmin. > 3. To this user add VmPoolAdmin permissions on DC. > 4. Log as user to webadmin. > 5. Try to create/edit some vmpool. > > Actual results: > Unable to create/edit vmpool. > > Expected results: > Shoud create/edit vmpool. > > Additional info: I'll try to reproduce. Next time, please also attach the logs, or at least what was the failure. Thank you. Okay. Looks like the issue there is that you also need CREATE_VM permissions on the DC in order to add/edit a VM pool. So we have a few options here: 1. Say it makes sense, and leave it as is. 2. Add CREATE_VM action group to VmPoolAdmin. 3. Remove the requirement - will be more complex (not impossible, but it may have an effect on other flows as well). (In reply to comment #4) > Okay. > Looks like the issue there is that you also need CREATE_VM permissions on > the DC in order to add/edit a VM pool. > > So we have a few options here: > 1. Say it makes sense, and leave it as is. > 2. Add CREATE_VM action group to VmPoolAdmin. Need to make it as simple as possible for the user. VM Pool admin is the equivalent of a Single VM admin. So this is the preferred option. PMPoolAdmin should have the privileges to create VMs Commit: a183c3f2562db31ef7896204e749d25ec1f09158 http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=a183c3f2562db31ef7896204e749d25ec1f09158 |