Neutron shared routines and utilities.
Go to file
Slawek Kaplonski 09af59caa9 Return properly elevated context by get_admin_context() helper
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
2023-04-12 12:28:31 +02:00
api-ref/source Merge "port-hints: api-ref: Add field length limitation" 2023-04-05 18:53:40 +00:00
doc Update URL for flake8 from Gitlab to Github 2022-11-16 11:16:41 +09:00
neutron_lib Return properly elevated context by get_admin_context() helper 2023-04-12 12:28:31 +02:00
releasenotes Update master for stable/2023.1 2023-03-02 13:26:09 +00:00
tools Remove import statement for six 2021-12-19 14:21:51 +09:00
.coveragerc Improvements to tox envs 2015-12-19 01:00:22 -05:00
.gitignore Switch to stestr 2018-05-24 11:09:18 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:02 +00:00
.mailmap Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
.pylintrc Fix missed six library items in .pylintrc 2022-09-23 15:21:16 -04:00
.stestr.conf Fix unit test failures due to switch to testr changes 2017-09-14 08:17:35 -07:00
.zuul.yaml Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 09:25:33 +00:00
CONTRIBUTING.rst Merge "Update links in CONTRIBUTING.rst" 2017-10-05 20:47:37 +00:00
HACKING.rst Update the documentation link for doc migration 2017-07-20 15:46:41 +00:00
LICENSE Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-22 11:23:33 +08:00
requirements.txt Use new get_rpc_client API from oslo.messaging 2023-02-02 22:44:00 +01:00
setup.cfg Update python testing as per zed cycle teting runtime 2022-05-11 22:24:52 -05:00
setup.py Updated from global requirements 2017-03-02 11:49:11 +00:00
test-requirements.txt Start running pylint for pep8 tests 2020-09-17 09:53:01 -04:00
tox.ini Update envlist for tox4 2023-01-13 09:56:43 -05:00

README.rst

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO