File 0009-polkit-privs-whitelisting-add-renamed-wifi-scan-wifi.patch of Package polkit-default-privs.11808

From 491a17ead1d4349507bb38b9671b22a6be1c331e Mon Sep 17 00:00:00 2001
From: Matthias Gerstner <matthias.gerstner@suse.de>
Date: Fri, 15 Mar 2019 12:18:34 +0100
Subject: [PATCH] polkit privs whitelisting: add renamed wifi-scan -> wifi.scan
 action

The old name will be removed once everything is in sync again.
---
 polkit-default-privs.restrictive | 2 ++
 polkit-default-privs.standard    | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/polkit-default-privs.restrictive b/polkit-default-privs.restrictive
index 4e7c926..adeda1a 100644
--- a/polkit-default-privs.restrictive
+++ b/polkit-default-privs.restrictive
@@ -38,6 +38,8 @@ org.freedesktop.NetworkManager.reload                           auth_admin_keep:
 org.freedesktop.NetworkManager.settings.modify.global-dns       auth_admin_keep:auth_admin_keep:auth_admin_keep
 # bsc#1122262 (currently not upstream)
 org.freedesktop.NetworkManager.wifi-scan                        auth_admin:auth_admin_keep:yes
+# bsc#1122262, bsc#1128560 (renamed from previously wifi-scan)
+org.freedesktop.NetworkManager.wifi.scan                        auth_admin:auth_admin_keep:yes
 
 #
 # gnome-settings-daemon (bnc#690496)
diff --git a/polkit-default-privs.standard b/polkit-default-privs.standard
index 4a0c8dd..c548e22 100644
--- a/polkit-default-privs.standard
+++ b/polkit-default-privs.standard
@@ -37,8 +37,10 @@ org.freedesktop.NetworkManager.enable-disable-connectivity-check no:no:yes
 org.freedesktop.NetworkManager.checkpoint-rollback              auth_admin_keep:auth_admin_keep:auth_admin_keep
 org.freedesktop.NetworkManager.reload                           auth_admin_keep:auth_admin_keep:auth_admin_keep
 org.freedesktop.NetworkManager.settings.modify.global-dns       auth_admin_keep:auth_admin_keep:auth_admin_keep
-# bsc#1122262 (currently not upstream)
+# bsc#1122262 (currently not upstream, to be removed)
 org.freedesktop.NetworkManager.wifi-scan                        auth_admin:yes:yes
+# bsc#1122262, bsc#1128560 (renamed from previously wifi-scan)
+org.freedesktop.NetworkManager.wifi.scan                        auth_admin:yes:yes
 
 #
 # gnome-settings-daemon (bnc#690496)
-- 
2.19.2