Bug 798120 - Zone Creator role user should not be able to destroy zones
Summary: Zone Creator role user should not be able to destroy zones
Keywords:
Status: CLOSED DUPLICATE of bug 800511
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-all
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: beta
Assignee: Scott Seago
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-28 05:55 UTC by Shveta
Modified: 2012-03-08 15:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-08 15:06:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Shveta 2012-02-28 05:55:04 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Created a user with Zone creator role 
2. Created a zone , Filter view , destroy zone , zone gets deleted
3. Created a user with Zone Administrator role , it is also able
to destroy zone.

I think no admin rights should be given to Zone creator.

Please correct if i am wrong.
  
Actual results:


Expected results:


Additional info:

rpm -qa|grep aeolus
aeolus-conductor-0.8.0-36.el6.noarch
rubygem-aeolus-cli-0.3.0-10.el6.noarch
aeolus-conductor-daemons-0.8.0-36.el6.noarch
aeolus-configure-2.5.0-15.el6.noarch
rubygem-aeolus-image-0.3.0-10.el6.noarch
aeolus-all-0.8.0-36.el6.noarch
aeolus-conductor-doc-0.8.0-36.el6.noarch

Comment 1 Scott Seago 2012-02-29 17:30:25 UTC
Zone creator _only_ gives rights to create zones. However, whoever creates a zone (or a pool or an instance or pretty much _anything_ then automatically gets "owner-level" permissions on that object and can delete it.

In other words, if you have 2 zone creators user1 and user2. user1 creates zone1, user2 creates zone2. Since 'zone creator' does not impart zone delete permissions, user1 may not delete zone2, and user2 may not delete zone 1. But since user1 is a zone owner/admin for zone1, he _may_ delete that one.

I think this is NOTABUG.

Comment 2 Scott Seago 2012-03-06 15:38:00 UTC
Wes,

actually we're going to be removing the 'Zone Creator' role entirely, so this bug won't be relevant anymore.

Comment 3 Scott Seago 2012-03-07 00:43:58 UTC
Once bug 800511 is fixed, the Zone Creator role will no longer exist.

Comment 4 wes hayutin 2012-03-08 15:06:45 UTC

*** This bug has been marked as a duplicate of bug 800511 ***


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