nova/nova/api
Ghanshyam Mann 01948df1a0 Add new default roles in os-atttach-inerfaces policies
This adds new defaults roles in os-attach-interfaces API policies.
- GET rules are made granular and default to System or project reader
- Other policies are default to system admin or project member.

Also add tests to simulates the future where we drop the deprecation
fall back in the policy by overriding the rules with a version where
there are no deprecated rule options. Operators can do the same by
adding overrides in their policy files that match the default but
stop the rule deprecation fallback from happening.

Partial implement blueprint policy-defaults-refresh

Change-Id: Ic405544560ae75ad88c10b8ff6d5048b3728cd2b
2020-03-07 06:28:14 +08:00
..
metadata Fix H702 pep8 error with latest hacking 2020-02-27 21:22:09 -06:00
openstack Add new default roles in os-atttach-inerfaces policies 2020-03-07 06:28:14 +08:00
validation Fix duplicated words issue like "during during boot time" 2020-01-06 14:19:03 +08:00
__init__.py Remove unused copyright from nova.api.__init__ 2014-01-10 16:24:50 +08:00
auth.py Stop using NoAuthMiddleware in tests 2019-10-14 11:43:52 -05:00
compute_req_id.py Migrate to oslo request_id middleware - mv 2.46 2017-05-27 10:11:44 +00:00
wsgi.py api: Remove 'Debug' middleware 2019-09-27 15:27:30 +01:00