Bug 948313 - There are check-boxes near subnets but no action buttons displayed.
Summary: There are check-boxes near subnets but no action buttons displayed.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 2.0 (Folsom)
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 5.0 (RHEL 7)
Assignee: Julie Pichon
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-04 14:43 UTC by Jaroslav Henner
Modified: 2015-06-04 21:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 14:59:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1271194 0 None None None Never

Description Jaroslav Henner 2013-04-04 14:43:41 UTC
Description of problem:
When displaying a shared network using page like:

http://HORIZON/dashboard/nova/networks/806a4f6e-c277-4540-86cf-fd5aea83b36b/detail

there are checkboxes near the Subnets, but there are no action buttons (for delting). 


Version-Release number of selected component (if applicable):
python-django-openstack-auth.noarch  1.0.6-2.el6ost        @puddle              


How reproducible:
always

Steps to Reproduce:
1. Create shared network (quantum need)
2. Create subnet
3. go to the page showing the network
  
Actual results:
Checkboxes displayed, no action buttons

Expected results:
no checkboxes, nor action buttons

Additional info:
Action buttons and checkboxes are displayed for non-shared (tenant network). That is fine.

Comment 2 Julie Pichon 2013-04-04 15:51:39 UTC
Confirmed this happens with shared networks. All tables actions in horizon/dashboards/nova/networks/subnets/tables.py are disabled if network.shared is True, as only the admin is allowed to edit those. It can be a bit confusing.

Perhaps it would be possible to iterate through the list of table actions before displaying a table, and disable the checkboxes if none of the actions is allowed.

Comment 3 Julie Pichon 2013-10-21 15:04:11 UTC
This also applies to shared networks on the Networks panel, for the Project dashboard (no action possible but checkbox still present - cf. bug 983473)

Comment 4 Julie Pichon 2014-01-21 14:59:17 UTC
I think it's fine to track progress for small UX improvements like this one upstream without duplicating it in Bugzilla. I filed https://bugs.launchpad.net/horizon/+bug/1271194 to do so and will close this one, thank you for the report!


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