oslo.policy/releasenotes/notes
Juan Antonio Osorio Robles f79650325f Add ability to pass in target data for the oslopolicy-checker
This allows us to test the policy for other services which might have
different or unusual target data formats (such as Barbican). It would be
possible to pass it as a nested dictionary, e.g.:

{
    "target": {
        "secret": {
            "project_id": "my project id"
        }
    }
}

or as a key pair (as oslo.policy would expect):
{
    "target.secret.project_id": "my project id"
}

Both will work (note that this logic was taken from barbican).

This fixes around the limitation that the target is hardcoded to be
"project_id", and thus allows to test more scenarios (such as the
project ID not matching).

Change-Id: Ia9f7462072a8cb142251c8bb5ef19d9a25a98119
2018-11-02 14:14:21 +02:00
..
Pass-target-dict-to-oslopolicy-checker-87185d40aec413ee.yaml Add ability to pass in target data for the oslopolicy-checker 2018-11-02 14:14:21 +02:00
add-scope-types-to-sphinxext-cacd845c4575e965.yaml Update sphinxext to include scope_types in docs 2018-06-01 19:50:53 +00:00
add-sphinxpolicygen-39e2f8fa24930b0c.yaml Add sphinx extension to build sample policy 2016-09-28 10:59:14 +01:00
add_custom_rule_check_plugins-3c15c2c7ca5e.yaml Documentation and release notes for plugins 2017-10-16 11:49:31 +00:00
add_reno-3b4ae0789e9c45b4.yaml Add reno for release notes management 2016-05-20 18:08:13 +03:00
bug-1779172-c1323c0f647bc44c.yaml Teach Enforcer.enforce to deal with context objects 2018-07-09 16:46:57 +00:00
enforce_scope_types-1e92f6a34e4173ef.yaml Add a release note for enforce_scope 2018-01-02 17:37:44 +00:00
expand-cli-docs-02c2f13adbe251c0.yaml Add CLI usage documentation 2018-06-01 22:07:34 +00:00
fix-rendering-for-deprecated-rules-d465292e4155f483.yaml Remove erroneous newline in sample generation 2018-06-01 21:25:19 +00:00
oslo-policy-descriptive-support-3ee688c5fa48d751.yaml Add release note for DocumentedRuleDefault 2017-03-22 15:02:13 +00:00
policy-check-performance-fbad83c7a4afd7d7.yaml Avoid redundant policy syntax checks 2018-07-18 19:40:15 +00:00