Red Hat Bugzilla – Bug 863074
UserRole permission on System/DC/Cluster doesn't work as expected
Last modified: 2016-02-10 14:10:38 EST
Description of problem:
When granting UserRole permission on System/DC/Cluster, it allows the user to see all the VMs under that entity (System/DC/Cluster), including Pooled VMs.
The result is that he will see all the VMs (including the Pooled VM) in the User Portal, but he won't see the VM Pools (as the logic is to show only pools that the user has no UserRole on at least one VM from this pool).
Currently opening the bug on backend, but we need to decide on what level we solve this issue.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a VM Pool with 2 VMs
2. Grant the user with UserRole on System/DC/Cluster
3. Login to the user portal
You'll see the two pooled VMs, but not the pool itself.
You should see the pools, and not the pooled VMs, and be able to run the pool, and get a VM that is assigned to you from this pool (after you run it the pool will disappear from the User Portal view, and you'll see the assigned VM).
See Bug #839490
*** Bug 904984 has been marked as a duplicate of this bug. ***
oved, didn't we clean some of this up?
Sorry for that late response. Just now noticed the question.
I didn't work on that one. Not sure if another work gave some resolution to this issue. I think that addressing Bug 878812 might also solve this one, so if it is planned to be solved soon then we can wait with this one.
Looked at 878812 and it this seems to me as a duplicate, agree ???
It is not a duplicate.
It is true that solving Bug #878812 will help this one, but in order to make sure all the issues are addressed I prefer to leave this one open as well.
Added a dependency to this bug on Bug #878812
User now can see all VM pools which he has direct/inderect permissions and user can't see pools where he exceeded limit of allocation of vms.
User can see all vms which he has direct/inderect permissions for and all vms from pool which he has allocated.
rhev 3.5.0 was released. closing.