Rules engine to enforce access control policy
Go to file
Lance Bragstad 0f31938dd7 Remove erroneous newline in sample generation
The sample generation code for policies has a couple different cases
that make sure deprecated rules have descriptions and reasoning
formatted in the comment section. One of the cases that handles
policies deprecated for removal was injecting an extra newline in the
comment text that threw off the formatting of the sample, leaving
the subsequent policy uncommented, and visually unpleasing.

This commit removes the extra newline in the formatting logic for
deprecated policies and adds a test case for the behavior.

Change-Id: I76338d2fbaccf3b43e0da04732fd9df3c05dfbda
Closes-Bug: 1771442
2018-06-01 21:25:19 +00:00
doc/source Merge "Update documentation to include usage for new projects" 2018-05-05 12:05:03 +00:00
oslo_policy Remove erroneous newline in sample generation 2018-06-01 21:25:19 +00:00
releasenotes Remove erroneous newline in sample generation 2018-06-01 21:25:19 +00:00
sample_data Add oslopolicy-checker command-line tool 2016-01-12 15:44:03 -06:00
.coveragerc Fix coverage configuration and execution 2015-10-01 15:39:58 +00:00
.gitignore move existing documentation into new standard layout 2017-06-28 16:46:38 -04:00
.gitreview exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
.mailmap exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
.testr.conf exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
.zuul.yaml add lower-constraints job 2018-03-24 21:02:41 -04:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 23:36:11 +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 Trivial: Update pypi url to new url 2018-04-21 11:02:31 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
lower-constraints.txt add lower-constraints job 2018-03-24 21:02:41 -04:00
requirements.txt Updated from global requirements 2018-03-15 07:49:45 +00:00
setup.cfg http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
setup.py Updated from global requirements 2017-03-03 03:07:08 +00:00
test-requirements.txt Updated from global requirements 2018-03-15 07:49:45 +00:00
tox.ini Remove stale pip-missing-reqs tox test 2018-05-02 11:29:50 -04:00

README.rst

Team and repository tags

image

oslo.policy

Latest Version

Downloads

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