Bug 1699196 - Manila share network network details are inaccessible to non-admin users
Summary: Manila share network network details are inaccessible to non-admin users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-manila-ui
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z7
: 13.0 (Queens)
Assignee: Tom Barron
QA Contact: Jason Grosso
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-12 04:54 UTC by Punit Kundal
Modified: 2019-12-16 19:33 UTC (History)
17 users (show)

Fixed In Version: openstack-manila-ui-2.13.1-1.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, users received an error when they attempted to view share network details, because the user could not retrieve a privileged resource. With this update, users can now view share network details on the OpenStack dashboard.
Clone Of:
Environment:
Last Closed: 2019-07-10 13:06:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1702396 0 None None None 2019-04-12 13:00:49 UTC
OpenStack gerrit 651535 0 None MERGED Show share network details to non-admin 2020-08-04 12:18:05 UTC
OpenStack gerrit 651540 0 None MERGED Add share servers to share network detail 2020-08-04 12:18:05 UTC
Red Hat Product Errata RHBA-2019:1739 0 None None None 2019-07-10 13:06:16 UTC

Comment 3 Tom Barron 2019-04-15 19:26:38 UTC
We reproduced this manila-ui issue w/o TLS turned on so I removed mention of TLS from the title.

Comment 32 Jason Grosso 2019-06-23 12:57:48 UTC
Using 13z7 puddle 2019-06-20.1  I created a demo user (non_admin user) /demo project/ demo network on sealusa23

I created  manila share-network-create --name demosharenetwork --neutron-net-id 65b968c7-e01b-47b1-918b-ce3ce2e9769f  --neutron-subnet-id 6d30fd93-3b32-4cd5-9d3e-013c021bfd9b as a demo user

login as demo user and click share networks and I am able to see mysharenetwork without any issues ( clicked the link for shared network and was able to see the details)

Share Network Details: demosharenetwork
Share Network Overview
Name demosharenetwork
ID 9420e7f9-2220-4353-b126-864ccff9f9dd

Network Details
Network demo-net
Subnet demo-subnet



I then tried logging in as non_admin user 'demo' and tried creating a share network  called test_share using network and subnet created by demo user. Then click the linked and was able to see  

Share Network Details: test_share

Share Network Overview
Name test_share
ID ecc0636c-90a0-4ff0-8f51-2cca48866c12
Network Details
Network demo-net
Subnet  demo-subnet

Comment 34 errata-xmlrpc 2019-07-10 13:06:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1739


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