Mohammed Naser 87799bbb13 share_networks: enable project_only API only
At the moment, the share_network database API which the web
API layer interacts with directly does not have any checking
for project_id which means that a user has the ability to run
operations against any other share_network if they have the ID.

This patch implements the usage of project_only in the database
query which ensures that administrators still have the behaviour
of getting any share network they want, but users can only pull
up those which are part of their context/authenticated project.

This patch also adjusts a few other tests due to the fact that
the existing tests would run a lot of inserts with a different
project_id than the context, which is not allowed in this new
API behaviour.  Therefore, the instances that involved projects
different than the context were converted to elevated ones.

There was also an instance where they were being created with a
project_id that did not match the fake context, therefore the
context was adjusted accordingly as well.

Closes-Bug: #1861485
Change-Id: Id67a939a475c4ac06d546b7e095bd10f1a6d2619
(cherry picked from commit 947315f0903c823b0fdd9d99c60078814587272c)
(cherry picked from commit 496e6e1d2a074ab85f434fe2a88a6c0159696419)
(cherry picked from commit 039ab2b020e4ca13fa723b6cb931f921944894ee)
(cherry picked from commit 496bb1473ea1ad8143bfb65d1727166de543affc)
(cherry picked from commit c3b92b030aa3c0eda2549947df9b752c7393849e)
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-03-10 13:53:30 -07:00
2017-08-11 17:22:28 +00:00
2018-06-08 02:22:10 +00:00
2019-04-19 19:27:39 +00:00
2017-03-30 15:12:22 +03:00
2017-11-10 15:44:35 +00:00
2017-01-16 22:24:53 +08:00
2019-04-19 19:27:39 +00:00
2019-04-19 19:27:39 +00:00
2013-08-08 10:34:06 -04:00
2019-07-12 21:15:45 +00:00
2013-08-08 10:34:06 -04:00
2017-08-04 11:23:30 +08:00
2017-03-03 22:51:04 +00:00
2019-07-12 21:15:45 +00:00

Team and repository tags

image

MANILA

You have come across an OpenStack shared file system service. It has identified itself as "Manila." It was abstracted from the Cinder project.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://github.com/openstack/manila.git

For developer information please see HACKING.rst

You can raise bugs here https://bugs.launchpad.net/manila

Python client

https://github.com/openstack/python-manilaclient.git

Description
Shared filesystem management project for OpenStack.
Readme 180 MiB
Languages
Python 99.3%
Shell 0.7%