![]() In neutron_lib.context module there are two simple helper functions: get_admin_context and get_admin_context_without_session. Both returned Context object with is_admin=True but without admin role set and due to that it wasn't proper admin context when new secure RBAC policies are used. With this patch both those helper functions returns properly elevated Context object with admin role set. Closes-Bug: #2015987 Change-Id: Ibde6acdb99555a6e43ca253523df7cbe4d150787 |
||
---|---|---|
api-ref/source | ||
doc | ||
neutron_lib | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
neutron-lib
Neutron shared routines and utilities
- Free software: Apache license
- Documentation: https://docs.openstack.org/neutron-lib/latest/
- Source: https://opendev.org/openstack/neutron-lib
- Bugs: https://bugs.launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron-lib/
Features
- TODO