Rules engine to enforce access control policy
Go to file
Pierre Riteau 5bd767be79 Fix generation of sample policy files
Generation of sample policy files was broken when exclude_deprecated was
added as an extra argument to the generate_sample function in
I6d02eb4d8f94323a806fab991ba2f1c3bbf71d04. It was passed as the fourth
argument, which is actually include_help. Because it defaults to False,
this turned sample policy files into actual policy files.

Fix by using keyword arguments instead.

Change-Id: I5478b1c8e7fd2f1b01f63602998194bab3683f7c
Closes-Bug: #1975682
2022-05-25 11:04:33 +02:00
doc make deprecated rule examples explicit 2022-02-22 11:20:49 -08:00
oslo_policy Fix generation of sample policy files 2022-05-25 11:04:33 +02:00
releasenotes Only pass exclude-deprecated when True 2022-04-28 15:27:31 +05:30
sample_data Modernize policy checker 2019-10-10 08:38:14 -07:00
.coveragerc Fix coverage configuration and execution 2015-10-01 15:39:58 +00:00
.gitignore Move doc related modules to doc/requirements.txt 2019-07-06 18:38:54 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:48 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
.pre-commit-config.yaml Move flake8 as a pre-commit local target. 2021-04-07 16:33:45 +02:00
.stestr.conf Fix requirements and convert to stestr 2018-07-02 17:30:07 +00:00
.zuul.yaml Add Python3 zed unit tests 2022-03-04 17:19:06 +00:00
CONTRIBUTING.rst Fix grammar issues 2020-11-01 18:08:33 -08:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-14 13:14:16 +00:00
requirements.txt Add policy file selection logic when default changing to yaml 2020-11-19 11:30:23 -06:00
setup.cfg Drop python3.6/3.7 support in testing runtime 2022-05-05 16:14:04 +02:00
setup.py remove outdated header 2020-02-11 18:54:49 +01:00
test-requirements.txt pre-commit: Resolve dependency conflicts 2021-01-18 15:48:28 +00:00
tox.ini Changed minversion in tox to 3.18.0 2021-06-07 16:41:34 +08:00

README.rst

Team and repository tags

image

oslo.policy

Latest Version

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