Goutham Pacha Ravi 8553962997 Clean up some policy code
oslo policy handles the mapping of
credentials from a context object to values
that oslo policy cares about. This mapping
includes some deprecations and compatibility
handling code that we must take advantage of [1].
So, stop mapping context to policy values
on our end, and rely on oslo.policy handling
this for us.

enforce and authorize methods in policy.py
do the same thing, but with a subtle
difference. The "enforce" method doesn't
raise errors when unregistered policies are
invoked - this shouldn't ever be the case
for any policies written/maintained within
manila - however, we support API extensions
and don't dictate what must be done there. So
add docstrings to clarify that we shouldn't
invoke enforce, ever.

Also handle InvalidPolicyScope exceptions
and raise the oslo.policy library version
since some test enhancements have been
committed in the latest version.

[1] d3185debdb/oslo_policy/policy.py (L1077-L1096)

Change-Id: I069bf7143d6ff66b3dcdc34c9b52d48f5808481b
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-02-25 23:41:57 -08:00
2021-02-25 04:59:19 +01:00
2020-08-11 21:00:54 +00:00
2021-02-25 23:41:57 -08:00
2017-03-30 15:12:22 +03:00
2017-10-25 11:57:46 -04:00
2019-04-19 19:27:35 +00:00
2019-06-24 15:03:51 -07:00
2020-10-14 14:05:30 +08:00
2013-08-08 10:34:06 -04:00
2020-03-18 18:59:27 -07:00
2021-02-25 23:41:57 -08:00
2020-03-27 16:55:52 +01:00
2020-12-10 19:48:15 -08:00
2021-02-11 17:18:20 +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://opendev.org/openstack/manila

For developer information please see HACKING.rst

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

Python client

https://opendev.org/openstack/python-manilaclient

  • Documentation for the project can be found at:

https://docs.openstack.org/manila/latest/

  • Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/manila/

  • Source for the project:

https://opendev.org/openstack/manila

  • Bugs:

https://bugs.launchpad.net/manila

  • Blueprints:

https://blueprints.launchpad.net/manila

  • Design specifications are tracked at:

https://specs.openstack.org/openstack/manila-specs/

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