[gnome-control-center] common: Add polkit rules for modem management



commit f3f4f13fe42236b088a58c272067a830f2ee8467
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Fri Oct 4 12:27:26 2019 +0530

    common: Add polkit rules for modem management

 panels/common/gnome-control-center.rules.in | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/panels/common/gnome-control-center.rules.in b/panels/common/gnome-control-center.rules.in
index 971ffac63..22cf785e0 100644
--- a/panels/common/gnome-control-center.rules.in
+++ b/panels/common/gnome-control-center.rules.in
@@ -1,6 +1,7 @@
 polkit.addRule(function(action, subject) {
        if ((action.id == "org.freedesktop.locale1.set-locale" ||
             action.id == "org.freedesktop.locale1.set-keyboard" ||
+            action.id == "org.freedesktop.ModemManager1.Device.Control" ||
             action.id == "org.freedesktop.hostname1.set-static-hostname" ||
             action.id == "org.freedesktop.hostname1.set-hostname" ||
             action.id == "org.gnome.controlcenter.datetime.configure") &&


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]