From 638dcb7706085015ee698339acca53e4091a7a5a Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Tue, 23 Jan 2024 15:16:40 -0800 Subject: [PATCH] Ensure scope logic is enforced Back after we added the new policies, at some point we should have changed the default state for the tempest tests so they assume/default to the understanding that Ironic is enforcing scope and to use the appropriate client when launching tests, because Ironic restructed it's access model to better align with the overall community and further enable infrastructure operators. Closes-Bug: 2051137 Change-Id: I564af48698d20a150699933bf7e2e829b104ab04 --- ironic_tempest_plugin/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ironic_tempest_plugin/config.py b/ironic_tempest_plugin/config.py index e1a7c5ea..5a71b84b 100644 --- a/ironic_tempest_plugin/config.py +++ b/ironic_tempest_plugin/config.py @@ -33,13 +33,13 @@ inspector_service_option = cfg.BoolOpt("ironic_inspector", "is expected to be available") ironic_scope_enforcement = cfg.BoolOpt('ironic', - default=False, + default=True, help='Wheter or not ironic is ' 'exepcted to enforce auth ' 'scope.') inspector_scope_enforcement = cfg.BoolOpt('ironic_inspector', - default=False, + default=True, help='Whether or not ' 'ironic-inspector is expected ' 'to enforce auth scope.')