Commit 19df16a3 authored by Anton Midyukov's avatar Anton Midyukov

phone: Add polkit rule to allow system settings NetworkManager

parent 743069ce
......@@ -5,7 +5,8 @@ polkit.addRule(function(action, subject) {
action.id == "org.freedesktop.ModemManager1.Messaging" ||
action.id == "org.freedesktop.ModemManager1.Time" ||
action.id == "org.freedesktop.ModemManager1.USSD" ||
action.id == "org.freedesktop.ModemManager1.Voice")
action.id == "org.freedesktop.ModemManager1.Voice" ||
action.id == "org.freedesktop.NetworkManager.settings.modify.system")
{
return polkit.Result.YES;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment