be9bd3f3a0
Currently the logic to determine the admin context is controlled by the [DEFAULT] admin_roles option but this requires that users set both policy and the option properly. This replaces the option by a new policy rule so that users can define all policy related settings in the policy.yaml file. This also allows users to create their is_admin rule with not only roles but also with other elements. Change-Id: Ib9d003065f943a5382e1079397bfde4292f5dabb
6 lines
143 B
YAML
6 lines
143 B
YAML
---
|
|
deprecations:
|
|
- |
|
|
The ``[DEFAULT] admin_roles`` option has been deprecated in favor of
|
|
the new ``context_is_admin`` policy rule.
|