trove/releasenotes/notes/deprecate-admin-roles-4c42d4be4e8ee950.yaml
Takashi Kajinami be9bd3f3a0 Use policy to determine admin context
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
2024-06-16 02:36:21 +00:00

6 lines
143 B
YAML

---
deprecations:
- |
The ``[DEFAULT] admin_roles`` option has been deprecated in favor of
the new ``context_is_admin`` policy rule.