diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-11-24 12:46:56 -0600 |
---|---|---|
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-11-24 13:27:25 -0600 |
commit | 0a228dea2ee96ec3eabed3361ca22502d0bbd4a1 (patch) | |
tree | cfbea82c7dc41dabf1ab4411c28b9412f54424ff /tox.ini | |
parent | 5180e9674f30a44a530deeabbc02804bec66351d (diff) | |
download | oslo-policy-0a228dea2ee96ec3eabed3361ca22502d0bbd4a1.tar.gz |
Fix oslopolicy-j2y-convertor tool for RuleDefault3.6.0
Description and operators are mandatory parameter for
DocumentedRuleDefault but few services still using the
RuleDefault for exmaple glance
- https://github.com/openstack/glance/blob/1344c45772c1a77107f621632642cf1488e431db/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
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions