Bug 767933 - Non user can stop an instance created by admin even when all deployable permissions are revoked.
Summary: Non user can stop an instance created by admin even when all deployable permi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Scott Seago
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 09:41 UTC by Shveta
Modified: 2012-08-30 17:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Shveta 2011-12-15 09:41:28 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Created a non admin user (shveta)
2. Launched an instance from admin
3. Revoked all access of deployable for non-admin user(shveta)
4. non admin user can still login and stop that instance.
  
Actual results:


Expected results:


Additional info:
 rpm -qa|grep aeolus
rubygem-aeolus-image-0.2.0-1.el6.noarch
aeolus-conductor-0.7.0-4.el6.noarch
aeolus-conductor-doc-0.7.0-4.el6.noarch
aeolus-configure-2.4.0-3.el6.noarch
rubygem-aeolus-cli-0.2.0-3.el6.noarch
aeolus-all-0.7.0-4.el6.noarch
aeolus-conductor-daemons-0.7.0-4.el6.noarch

Comment 1 wes hayutin 2012-01-10 17:10:32 UTC
adding to ce-sprint-next

Comment 2 wes hayutin 2012-01-10 17:13:14 UTC
adding to ce-sprint-next

Comment 3 wes hayutin 2012-01-12 16:34:53 UTC
adding to ce-sprint

Comment 4 wes hayutin 2012-01-12 16:41:13 UTC
removing ce-sprint-next tracker

Comment 5 Scott Seago 2012-01-13 01:52:50 UTC
Stopping an instance won't depend on deployable permissions. However, if the non-admin user in question wasn't the one that launched the instance, this is still a bug -- conductor should be verifying that the user has 'Use Instance' permissions on the instance being stopped.

Comment 6 Scott Seago 2012-01-17 06:47:25 UTC
What page did you access to stop the instance? I attempted to test this out and, as non-admin user without depoyment rights, when I clicked on the deployment URL I got an 'insufficient privileges' error page, so I could not get to the instance list.

If you could provide the URL of the page on which you were able to stop the instance on which you shouldn't have had access, that would help me track this down.

Comment 7 Shveta 2012-01-18 16:21:32 UTC
This is changed/fixed recently it seems.

Error not reproducible .
Verified in 
rpm -qa|grep aeolus
aeolus-conductor-0.8.0-7.el6.noarch
aeolus-configure-2.5.0-4.el6.noarch
aeolus-conductor-daemons-0.8.0-7.el6.noarch
rubygem-aeolus-image-0.3.0-2.el6.noarch
rubygem-aeolus-cli-0.3.0-3.el6.noarch
aeolus-all-0.8.0-7.el6.noarch
aeolus-conductor-doc-0.8.0-7.el6.noarch


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