summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Settings.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-09-10 14:12:42 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-09-10 14:12:42 +0200
commit289865b77fdcf4eb5e231e75cdca1c5495bfd8e7 (patch)
tree339d90bfcf91731acca1a3de71ca7aa8e07a9cc0 /src/Daemon/Settings.cpp
parent2888ad1ee804e8ef1b74f0e09d8297175ee2e7a0 (diff)
downloadabrt-289865b77fdcf4eb5e231e75cdca1c5495bfd8e7.tar.gz
abrt-289865b77fdcf4eb5e231e75cdca1c5495bfd8e7.tar.xz
abrt-289865b77fdcf4eb5e231e75cdca1c5495bfd8e7.zip
fixed polkit to remember the autorization
Diffstat (limited to 'src/Daemon/Settings.cpp')
-rw-r--r--src/Daemon/Settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/Settings.cpp b/src/Daemon/Settings.cpp
index 436334ae..90c8916c 100644
--- a/src/Daemon/Settings.cpp
+++ b/src/Daemon/Settings.cpp
@@ -431,7 +431,7 @@ void SetSettings(const map_abrt_settings_t& pSettings, const char *dbus_sender)
int polkit_result;
polkit_result = polkit_check_authorization(dbus_sender,
- "org.fedoraproject.abrt.save-settings");
+ "org.fedoraproject.abrt.change-daemon-settings");
if (polkit_result != PolkitYes)
{
log("user %s not authorized, returned %d", dbus_sender, polkit_result);