Created attachment 751095 [details] engine.log Description of problem: If there is a vm with disk which has assigned some quota and the user is not consumer of this quota. Then this user can't reassing the quota of vm disk, even if he try to assigne quota of which he is consumer. Doesn't work in enforcing mode. Version-Release number of selected component (if applicable): sf17 How reproducible: always Steps to Reproduce: 1. Set DC to enforce mode. 2. Create quota_1 and quota_2. 3. Add user1 and add him UserVmManager role on DC and add him as consumer of quota_1. 4. Create vm in DC with disk, assign to vm and disk quota_2. 5. Login as user1 and try to change vm disk quota from quota_2 to quota_1. Actual results: Error while executing action: vm: User is not authorized to perform this action. Expected results: Quota is changed successfully. Additional info: When user is also quota consumer on quota_1 then the reassign of quotas works fine.
Verified is12. User can now release quota which he is not consumer of and assign quota which he is consumer of.
Closing - RHEV 3.3 Released