salt/temporary-fix-extend-the-whitelist-of-allowed-comman.patch

27 lines
631 B
Diff
Raw Normal View History

From 6a3a1b36ba7157a6318084bd67acda3ad9f9556e Mon Sep 17 00:00:00 2001
From: Bo Maryniuk <bo@suse.de>
Date: Thu, 24 Jan 2019 18:12:35 +0100
Subject: [PATCH] temporary fix: extend the whitelist of allowed commands
---
salt/auth/__init__.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/salt/auth/__init__.py b/salt/auth/__init__.py
index cf5e2deb9c..d43c57338c 100644
--- a/salt/auth/__init__.py
+++ b/salt/auth/__init__.py
@@ -47,6 +47,8 @@ AUTH_INTERNAL_KEYWORDS = frozenset([
'gather_job_timeout',
'kwarg',
'match',
+ "id_",
+ "force",
'metadata',
'print_event',
'raw',
--
2.16.4