summaryrefslogtreecommitdiff
path: root/oslo_policy/tests/test_policy.py
Commit message (Expand)AuthorAgeFilesLines
* Don't raise InvalidScope exception when do_raise=FalseSlawek Kaplonski2022-03-171-7/+34
* Enforce scope check always when rule has scope_types set3.10.1Slawek Kaplonski2021-11-231-0/+16
* Merge "Rules in policy directory files can be deleted."Zuul2021-10-211-50/+35
|\
| * Rules in policy directory files can be deleted.Mitya_Eremeev2021-10-141-50/+35
* | Map system_scope in creds dictionaryMichael Johnson2021-08-121-17/+14
|/
* Reinstate double deprecation test logicBen Nemec2021-02-261-0/+6
* Make 'Rule' attributes read-onlyStephen Finucane2021-02-231-6/+8
* Don't modify 'Rule.check'Stephen Finucane2021-02-231-20/+16
* Merge "Add documentation parameters for DeprecatedRule"Zuul2021-02-171-54/+67
|\
| * Add documentation parameters for DeprecatedRuleStephen Finucane2021-01-211-54/+67
* | Work on copy of registered rule instead of original object3.6.2Ghanshyam Mann2021-02-041-6/+28
* | Handle deprecated rule only once3.6.1Slawek Kaplonski2021-02-011-0/+33
|/
* Add policy file selection logic when default changing to yamlGhanshyam Mann2020-11-191-0/+81
* Remove all usage of six libraryhaixin2020-10-061-9/+4
* Log warning for redundant file rules3.4.0Ghanshyam Mann2020-08-271-0/+21
* Deprecate the JSON support for policy_fileGhanshyam Mann2020-08-271-0/+8
* Reload files in policy_dirs on primary file changeDmitrii Shcherbakov2020-06-081-0/+43
* Merge "Add new config to enforce the new defaults"Zuul2020-04-091-0/+33
|\
| * Add new config to enforce the new defaultsGhanshyam Mann2020-04-071-0/+33
* | Merge "Allow disabling the default check_str change warnings"Zuul2020-04-091-0/+22
|\ \
| * | Allow disabling the default check_str change warningsGhanshyam Mann2020-04-081-0/+22
| |/
* | Cleanup warningsStephen Finucane2020-04-071-5/+22
|/
* Use unittest.mock instead of third party mock3.0.3Sean McGinnis2020-03-311-1/+1
* Don't use string processing to combine deprecated rules2.4.1Zane Bitter2019-12-131-0/+64
* Fix reference cycle caused by deprecated sample overrideBen Nemec2019-09-171-0/+33
* Add attribute to suppress deprecation warnings2.3.0Colleen Murphy2019-08-051-0/+70
* Merge "Add domain scope support for scope types"1.43.0Zuul2018-12-041-2/+101
|\
| * Add domain scope support for scope typesLance Bragstad2018-11-301-2/+101
* | Merge "Make upgrades more robust with policy overrides"Zuul2018-12-041-0/+118
|\ \
| * | Make upgrades more robust with policy overridesLance Bragstad2018-11-291-0/+118
| |/
* | Merge "Fully log RBAC enforcement data"Zuul2018-12-031-0/+1
|\ \
| * | Fully log RBAC enforcement dataJohn Dennis2018-11-301-0/+1
| |/
* | Enhance test to prevent JSON parsing regressionBrian Rosmaita2018-11-261-4/+35
|/
* Merge "Avoid redundant policy syntax checks"rocky-em1.38.1Zuul2018-07-191-0/+60
|\
| * Avoid redundant policy syntax checksMateusz Kowalski2018-07-181-0/+60
* | Teach Enforcer.enforce to deal with context objectsLance Bragstad2018-07-091-0/+84
* | Pass dictionary as creds in policy testsLance Bragstad2018-07-021-4/+7
* | Only log deprecation warnings when they are overridden1.33.1Lance Bragstad2018-01-051-1/+22
* | Add configuration option for enforcing scopeLance Bragstad2017-12-201-1/+1
* | Add scope_types to RuleDefault objectsLance Bragstad2017-12-041-1/+38
* | Merge "Add functionality to deprecate policies"1.30.0Zuul2017-11-011-0/+155
|\ \
| * | Add functionality to deprecate policiesLance Bragstad2017-10-231-0/+155
| |/
* | Pass creds as a dict in testsLance Bragstad2017-10-231-4/+7
|/
* Fix parsing bug when config file is empty.TommyLike2017-07-121-0/+5
* Simplify message of exception PolicyNotAuthorizedChangBo Guo(gcb)2017-05-231-2/+4
* Add additional param to policy.RuleDefaultAnthony Washington2017-03-151-0/+83
* Add optional exception for check_rulesAndrew Laski2017-01-181-1/+17
* Fix a code logic while doing cyclical reference check to the policyXu Ao2016-11-081-1/+10
* Change assertTrue(isinstance()) by optimal assert1.16.0melissaml2016-10-141-1/+1
* Perform basic checks on policy definitionsAndrew Laski2016-10-121-0/+33