Ghanshyam Mann 0a228dea2e Fix oslopolicy-j2y-convertor tool for RuleDefault
Description and operators are mandatory parameter for
DocumentedRuleDefault but few services still using the
RuleDefault for exmaple glance
- 1344c45772/glance/policies/image.py (L16)

To make work on oslopolicy-j2y-convertor tool to covert
the JSON file for such services we need to pass description
in preparing DocumentedRuleDefault for this tool to generate
the yaml file with rule description. For such cases, it add
rule name as description.

Also for 'operations', do not write it in generate file
for RuleDefault as that end up with blank space.

Change-Id: I910291a152402051b1eac96c3ec16c3f0bb8bbb7
2020-11-24 13:27:25 -06:00
2020-11-17 18:21:41 +00:00
2019-10-10 08:38:14 -07:00
2019-04-19 19:29:48 +00:00
2020-09-22 11:45:02 +02:00
2020-09-11 20:59:34 +00:00
2020-11-01 18:08:33 -08:00
2020-02-11 18:54:49 +01:00
2020-09-22 11:45:02 +02:00

Team and repository tags

image

oslo.policy

Latest Version

The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services.

Description
Rules engine to enforce access control policy
Readme 6.6 MiB
Languages
Python 100%