Move away from positional arguments on UserDB calls for the rules controller (this time for real)
@@ -168,7 +168,7 @@ class RuleController(BaseRestControllerMixin, BaseResourceIsolationControllerMix
LOG.debug('PUT /rules/ lookup with id=%s found object: %s', rule_ref_or_id, rule_db)
if not requester_user:
- requester_user = UserDB(cfg.CONF.system_user.user)
+ requester_user = UserDB(name=cfg.CONF.system_user.user)
# Validate that the authenticated user is admin if user query param is provided
user = requester_user.name
rbac_utils.assert_user_is_admin_if_user_query_param_is_provided(user_db=requester_user,
