Slawek Kaplonski 91759b17ea Don't check context.system_scope to check project scope
During first attempt of the Secure RBAC implementation [1] to
function model_query_scope_is_project() there was added check
which was checking if context.system_scope is "all" in case when
scope enforcement was enabled. It was like that because that meant
that it is SYSTEM_* persona context (e.g. SYSTEM_ADMIN).
This is not needed now as later it was agreed to have only one ADMIN
user which will still behave like old, "legacy" ADMIN user.

[1] https://review.opendev.org/c/openstack/neutron-lib/+/781075

Closes-bug: #1996150
Change-Id: If3a97c4d3a0f4cb6b4d06434f74cbe9d933a07a4
2022-11-15 16:37:18 +01:00
..
2016-03-18 21:41:41 -04:00
2017-08-04 10:51:43 -06:00
2016-08-19 08:47:37 -04:00