Bug 839319
| Summary: | Permissions given to DataCenter level do not apply | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | David Jaša <djasa> |
| Component: | ovirt-engine | Assignee: | Oved Ourfali <oourfali> |
| Status: | CLOSED WONTFIX | QA Contact: | Tomas Dosek <tdosek> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.1.0 | CC: | dyasny, hateya, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs |
| Target Milestone: | --- | Keywords: | Regression, Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra, ux | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-12 10:44:55 UTC | 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
David Jaša
2012-07-11 14:58:02 UTC
(In reply to comment #0) I don't understand how you got to the result of B if A failed C. Are you sure of this? Both cases B and C indicate that your storage domain may have been down during your test - but again I don't understand how you got to B if in A you could not log into the portal in the first place. (In reply to comment #1) > I don't understand how you got to the result of B if A failed a clarification: A hits if you add permissions to group whose member is our user. Once you add the permissions to the user, he is able to see the portal and create a VM - but not to create the disk for it. Sounds similar to https://bugzilla.redhat.com/839490 But need to investigate this more . Quality Engineering Management has reviewed and declined this request. You may appeal this decision by reopening this request. Still present in si13.2, marking as a regression because my 3.0 configuration is unusable in 3.1. Checking upstream env (including some changes inserted after SI13.2 was released) - Scenario A - works Scenario C - does not work not sure why C is a regression. I'm pretty sure in 3.0 storage domain permissions had to be given at system level. I did the following testing with the fix for bug #846300 (you can find a similar comment in that bug as well). Added a new user, and gave him power user role on the DC. Then, I logged in with it to the user portal, added a new VM, and added a new disk. It worked well. One of the changes I did was to make the storage domain inherit the permissions from the DC, so looks like that was what solved your scenario, as PowerUser has permissions to create disks, and with my patches this permission also propogates to the storage domains. Scenario C does not work at 3.0 as well, threfore is not a part of the regression (Just chedked on 3.0 setup) - a storage domain is created under SYSTEM, not under data center. A storage domain is associated to data center only using attach. IMHO, changing this , even for the sake of creating storage domain is incorrect. If A is not reporoduced, B is solved in bug #846300, and C won't be fixes, can we close this bug? |