blob: 6b558797519472877349a75b5b472e4f4462be86 [file] [log] [blame]
Felipe Monteiro10e82fd2017-11-21 01:47:20 +00001---
2features:
3 - |
4 Implemented a new method ``override_role`` in ``rbac_utils`` module, which
5 provides the exact same functionality as the now-deprecated ``switch_role``
6 method, with one difference: ``override_role`` is a contextmanager which
7 provides better policy validation granularity. This means that immediately
8 after the contextmanager's code has executed, the role is switched back
9 to the admin role automatically.
10deprecations:
11 - |
12 The ``switch_role`` method in ``rbac_utils`` module has been deprecated
13 and will be removed during the Rocky release cycle.