keystone/keystone/common
Ghanshyam Mann 256160b849 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Ic65d2fd6ce7215b4a47a6fb41b9cbf991f27773b
2021-02-01 17:36:29 +00:00
..
cache nit: remove some useless code 2019-07-08 19:41:16 +00:00
policies Re-enable line-length linter 2019-10-21 08:48:47 -07:00
rbac_enforcer [goal] Deprecate the JSON formatted policy file 2021-02-01 17:36:29 +00:00
resource_options Remove six usage 2020-01-30 06:06:51 +00:00
sql Merge "Update hacking for Python3" 2020-04-25 10:21:07 +00:00
validation Update hacking for Python3 2020-04-15 07:17:58 +02:00
__init__.py establish basic structure 2012-01-18 20:06:27 -08:00
authorization.py Add access rules to token validation 2019-09-14 03:14:36 -07:00
context.py Pass context objects to policy enforcement 2018-11-26 19:48:10 +00:00
driver_hints.py Drop type in filters 2017-01-13 14:19:11 +03:00
fernet_utils.py Refactor directory creation into a common place 2018-11-08 15:58:43 +00:00
json_home.py Expose access rules as its own API 2019-09-14 03:14:20 -07:00
jwt_utils.py Add keystone-manage create_jws_keypair functionality 2019-01-31 19:41:25 +00:00
manager.py Remove six usage 2020-01-30 06:06:51 +00:00
password_hashing.py nit: remove some useless code 2019-07-08 19:41:16 +00:00
profiler.py Remove log translations in keystone 2017-03-25 18:17:15 +00:00
provider_api.py Fix RBACEnforcer get_member_from_driver mechanism 2018-09-10 13:32:14 -07:00
render_token.py Add access rules to token validation 2019-09-14 03:14:36 -07:00
tokenless_auth.py Fixes incorrect params 2019-02-08 17:12:21 -08:00
utils.py Remove six usage 2020-01-30 06:06:51 +00:00