Refactor openstack.wsgi's authorize method as a decorator to reuse for all Manila APIs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Goutham Pacha Ravi |
Bug Description
There is a method in manila/
https:/
I would like a simple refactor to the code to use it as a decorator in all of the APIs that currently either use this policy checking functionality.
Currently, APIs implement policy checking either from the function in manila/
Some examples:
Use from manila/
https:/
https:/
Local policy checks:
https:/
https:/
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
Changed in manila: | |
status: | New → In Progress |
Fix proposed to branch: master /review. openstack. org/246555
Review: https:/