Hide Forgot
Created attachment 1219458 [details] engine log Description of problem: I have a user that has power user persmissions to whole system and he is unable to perform any operations with snapshots on any VM. Version-Release number of selected component (if applicable): 4.0.5-6 How reproducible: always Steps to Reproduce: 1. create a user with power user permission to system 2. log in with this user to userportal - extended tab 3. try to create/preview/delete a snapshot Actual results: insufficient permissions Expected results: can perform any action with snapshots on VMs the user has rights to Additional info: 2016-11-10 15:11:13,227 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-30) [318a2699] Correlation ID: 318a2699, Call Stack: null, Custom Event ID: -1, Message: User/Group tester, Namespace *, Authorization provider: internal-authz was granted permission for Role PowerUserRole on VM asdfjklhasef, by admin@internal-authz. 2016-11-10 15:11:23,749 INFO [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (default task-11) [21d4b138] No permission found for user '136de501-3f2c-490e-8 24c-1844011fa1eb' or one of the groups he is member of, when running action 'CreateAllSnapshotsFromVm', Required permissions are: Action type: 'USER' Action group: 'MANIPULATE_VM_ SNAPSHOTS' Object type: 'VM' Object ID: '640f453b-3388-47a7-8e60-904a1bb62e17'. 2016-11-10 15:11:23,749 WARN [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (default task-11) [21d4b138] Validation of action 'CreateAllSnapshotsFromVm' fa iled for user tester@internal-authz. Reasons: VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
That is because the MANIPULATE_VM_SNAPSHOTS is not part of the Power User Role. I don't think it ever was. @Petr: from documentation it is not really clear what it should do. If you still think MANIPULATE_VM_SNAPSHOTS should be part of Power User Role, please change this BZ to be an RFE.
Implemented in oVirt 4.3.0