[gnome-initial-setup] polkit: allow control over NetworkManager actions
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] polkit: allow control over NetworkManager actions
- Date: Mon, 12 Jun 2017 16:43:12 +0000 (UTC)
commit 8c9c45087c5c4025dce3b6023d6ce23764275622
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Thu Apr 17 15:22:56 2014 -0700
polkit: allow control over NetworkManager actions
This patch is shipped in Debian and Endless by default; since
gnome-initial-setup allows configuring connections, polkit should be
configured to allow it.
https://bugzilla.gnome.org/show_bug.cgi?id=783388
data/20-gnome-initial-setup.rules | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/20-gnome-initial-setup.rules b/data/20-gnome-initial-setup.rules
index a197cfc..48da882 100644
--- a/data/20-gnome-initial-setup.rules
+++ b/data/20-gnome-initial-setup.rules
@@ -11,6 +11,7 @@ polkit.addRule(function(action, subject) {
var actionMatches = (action.id === 'org.freedesktop.udisks2.filesystem-mount-system' ||
action.id.indexOf('org.freedesktop.hostname1.') === 0 ||
+ action.id.indexOf('org.freedesktop.NetworkManager.') === 0 ||
action.id.indexOf('org.freedesktop.locale1.') === 0 ||
action.id.indexOf('org.freedesktop.packagekit.system-sources-configure') === 0 ||
action.id.indexOf('org.freedesktop.accounts.') === 0 ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]