
The primary goal of the library policy module is to support the context module during the enforcement of service and admin rules, and as such an enforcer is needed. Incidentally the enforcer is stored in a global variable whose name is the same as the enforcer's used by neutron's policy engine. To avoid confusion, this patch revises some parts of the library's policy module to make sure the cut of responsibilities is better defined. It finally makes the policy module private to avoid any danger of mixing up the enforcer instances. Change-Id: Ie55d557aa3e24678aed2fb3b5c590485f54fe792
8 lines
333 B
YAML
8 lines
333 B
YAML
---
|
|
deprecations:
|
|
- |
|
|
``policy.refresh()`` and ``policy.reset()`` have been removed. The library
|
|
policy module is not meant for public consumption, and it should be
|
|
considered in practice a private component of the library. If you use it,
|
|
you will do so at your own risk, as it has been marked as a private module.
|