Go to file
Cameron Kolodjski 3fb9b981b0 Remove admin context check, update unit tests
In manila/api/v1/security_service.py, the context.is_admin check is
removed, allowing the subsequent policy check to determine whether the
user can retrieve all security services. Authorization is determined by
the RBAC policy "security_services:get_all_security_services".

In manila/tests/api/v1/test_security_service.py, unit tests for listing
security services based on admin context were replaced with unit tests
for listing security services based on whether the user is authorized or
not.

The unit test test_security_services_list_all_tenants_policy_authorized
asserts that the security services are retrieved when
policy.check_policy returns True.

The unit test
test_security_services_list_all_tenants_policy_not_authorized asserts
that security services are not retrieved when policy.check_policy
raises a NotAuthorized exception.

Closes-Bug: #1916102

Change-Id: I6cce61237f5ee3ce60d8165f6fac5e7e5a63b4dd
Depends-On: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/840727
2022-05-06 17:14:29 -03:00
2021-08-21 08:33:47 +00:00
2020-08-11 21:00:54 +00: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
2022-02-08 19:09:58 +00:00
2020-03-27 16:55:52 +01:00
2020-12-10 19:48:15 -08: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 184 MiB
Languages
Python 99.3%
Shell 0.7%