summaryrefslogtreecommitdiff
path: root/src/nm-manager.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-17 15:34:55 +0200
committerThomas Haller <thaller@redhat.com>2016-08-17 15:50:20 +0200
commit2cb18efaea0b0fd90c4633c2c0ff00864fad18b4 (patch)
treef72adc49dd610ced96a6fcef5e4e16129574d517 /src/nm-manager.c
parentd070d7f47d2d5631f610c0cd58f18bbffa431f63 (diff)
downloadNetworkManager-2cb18efaea0b0fd90c4633c2c0ff00864fad18b4.tar.gz
permissions: properly add checkpoint-rollback permission
Fixes: a52d4654ec4d3afbbb0ef70ada55f4a5ddac92db
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r--src/nm-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index e94659b029..88723e0298 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -4414,6 +4414,7 @@ get_permissions_done_cb (NMAuthChain *chain,
get_perm_add_result (self, chain, &results, NM_AUTH_PERMISSION_SETTINGS_MODIFY_HOSTNAME);
get_perm_add_result (self, chain, &results, NM_AUTH_PERMISSION_SETTINGS_MODIFY_GLOBAL_DNS);
get_perm_add_result (self, chain, &results, NM_AUTH_PERMISSION_RELOAD);
+ get_perm_add_result (self, chain, &results, NM_AUTH_PERMISSION_CHECKPOINT_ROLLBACK);
g_dbus_method_invocation_return_value (context,
g_variant_new ("(a{ss})", &results));
@@ -4453,6 +4454,7 @@ impl_manager_get_permissions (NMManager *self,
nm_auth_chain_add_call (chain, NM_AUTH_PERMISSION_SETTINGS_MODIFY_HOSTNAME, FALSE);
nm_auth_chain_add_call (chain, NM_AUTH_PERMISSION_SETTINGS_MODIFY_GLOBAL_DNS, FALSE);
nm_auth_chain_add_call (chain, NM_AUTH_PERMISSION_RELOAD, FALSE);
+ nm_auth_chain_add_call (chain, NM_AUTH_PERMISSION_CHECKPOINT_ROLLBACK, FALSE);
}
static void