summaryrefslogtreecommitdiff
path: root/src/cups-pk-helper-mechanism.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cups-pk-helper-mechanism.c')
-rw-r--r--src/cups-pk-helper-mechanism.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cups-pk-helper-mechanism.c b/src/cups-pk-helper-mechanism.c
index 471d80e..d0b0826 100644
--- a/src/cups-pk-helper-mechanism.c
+++ b/src/cups-pk-helper-mechanism.c
@@ -809,7 +809,7 @@ cph_mechanism_server_get_settings (CphMechanism *mechanism,
reset_killtimer (mechanism);
- if (!_check_polkit_for_action (mechanism, context, "printeraddremove"))
+ if (!_check_polkit_for_action (mechanism, context, "serversettings"))
return FALSE;
settings = cph_cups_server_get_settings (mechanism->priv->cups);
@@ -828,7 +828,7 @@ cph_mechanism_server_set_settings (CphMechanism *mechanism,
reset_killtimer (mechanism);
- if (!_check_polkit_for_action (mechanism, context, "printeraddremove"))
+ if (!_check_polkit_for_action (mechanism, context, "serversettings"))
return FALSE;
ret = cph_cups_server_set_settings (mechanism->priv->cups, settings);