Bug 904730 - network can be viewed/deleted by different tenants admin users
Summary: network can be viewed/deleted by different tenants admin users
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-27 10:45 UTC by Ofer Blaut
Modified: 2019-09-09 14:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-12 16:49:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Network lists/delete actions (2.32 KB, text/plain)
2013-01-27 10:45 UTC, Ofer Blaut
no flags Details

Description Ofer Blaut 2013-01-27 10:45:42 UTC
Created attachment 688377 [details]
Network lists/delete actions

Description of problem:

network list can be viewed/deleted by different tenants admin users.


I have created few tenants and created different network with vlan to each of them. ( i used admin user of admin tenant ).

VLAN networks are not shared, i created admin user per each tenant.

every admin user can see all networks and delete networks that belong to other tenants

this is not the case for instnace list. 

i have also tested it when  admin of one of the tenants create network , it is also seen by others.


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


How reproducible:


Steps to Reproduce:
1.create 3 tenants
2.create 3 network with vlan per each tenant
3.create 3 admin users ( admin per tenant )
4. run nova-manage network list , check each admin user see the network of all tenants
5. delete network of tenant A by admin user of tenant B 

  
Actual results:


Expected results:


Additional info:

Comment 2 Russell Bryant 2013-02-12 16:49:05 UTC
Note that 'nova-manage' works very differently from the 'nova' command.  It is a low level admin tool that does not go through the API, so there is no concept of which user is making the request.


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