Red Hat Bugzilla – Bug 1313282
[RFE] - Superuser doesn't have access to user portal
Last modified: 2017-10-25 07:04:25 EDT
Can we include the more details information about how to create and Role
and Permissions on in Technical Guide.
Can you please add more details on what is missing?
And provide the use case for what you are trying to do?
I was the customer in the RH support case (# 01569117) that this stems from.
Here's the original summary:
A user has been assigned 'superuser' role on two VMs in the user portal. When he tries to create a snapshot one either of those VMs, he gets 'there are no disks allowing a snapshot..'
I had added the 'superuser' role to user, and nothing else. What we found was that -- when using the user portal (as opposed to the admin portal), the user had to be assigned the 'user' role and not just the 'superuser' role, in order to be able to see the VM's disk and create snapshots. (Oddly, this applied to RHEL VMs but not Windows VMs.)
This seems counter-intuitive -- one would think that 'superuser' is a superset of 'user'. If this is be design (?), it would be helpful to have it documented somewhere.
First of all it should have nothing to do with the OS. I can guess the issue may have been that the user had some permissions on the storages of the RHEL machines as opposed to the windows ones.
The roles which should be used in user portal are user roles, e.g.:
UserRole: for user to start/stop etc the vms
PowerUserRole: for creating the vms