Bug 1479583 - EvmRole-auditor can perform actions on VM
Summary: EvmRole-auditor can perform actions on VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Martin Povolny
QA Contact: Landon LaSmith
URL:
Whiteboard:
Depends On:
Blocks: 1553392
TreeView+ depends on / blocked
 
Reported: 2017-08-08 21:35 UTC by George Field
Modified: 2019-08-06 20:04 UTC (History)
11 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1553392 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:54:13 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description George Field 2017-08-08 21:35:26 UTC
Description of problem:
According to Redhat doc, role EvmRole-auditor should have no permission on perform any actions on VMs. However, users having that role are able to poweron/poweroff VMs

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a user and assign role EvmRole-auditor
2.Login with the user
3.Go to any VM and click on the Power button, all actions are visible and can be performed.

Actual results:
User is able to poweron/poweroff VMs

Expected results:
User shouldn't even be able to see the power button or actions should be disabled

Additional info:
EvmRole-security has the same problem.

Comment 3 Martin Povolny 2017-10-31 20:15:39 UTC
> According to Redhat doc

Can you give me a link to that doc, please?

Comment 6 Martin Povolny 2017-11-04 12:04:19 UTC
As a workaround you can copy the pre-defined Auditor role to a new role, fix the permissions under the new role and assign the new role in place of the pre-defined role.

I am working on a fix here: https://github.com/ManageIQ/manageiq/pull/16394

Comment 7 George Field 2017-11-04 14:32:29 UTC
Hi Martin,
Thank you very much for working on the fix.
CloudForms is the best in its kind and I am very happy to see it's getting better and better because of you guys. Awesome!
Regards,
George Field

Comment 9 Martin Povolny 2018-03-08 18:20:53 UTC
No, just need's POSTing, sorry.

Comment 11 Landon LaSmith 2018-08-05 18:48:38 UTC
VERIFIED in 5.10.0.8. While logged in as a user with EvmRole-auditor permissions, i was unable to power on/off a vm


Note You need to log in before you can comment on or make changes to this bug.