summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r--lib/CommLayer/CommLayerServerDBus.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp
index d2b6d4d1..4b6c99b0 100644
--- a/lib/CommLayer/CommLayerServerDBus.cpp
+++ b/lib/CommLayer/CommLayerServerDBus.cpp
@@ -22,7 +22,7 @@ CCommLayerServerDBus::CCommLayerServerDBus()
}
catch(DBus::Error err)
{
- throw CABRTException(EXCEP_FATAL, std::string(__func__) +
+ throw CABRTException(EXCEP_FATAL, std::string(__func__) +
"\nPlease check if:\n"
+ " * abrt is being run with root permissions\n"
+ " * you have reloaded the dbus\n"+
@@ -116,9 +116,10 @@ vector_map_string_string_t CCommLayerServerDBus::GetPluginsInfo()
return plugins_info;
}
-map_plugin_settings_t CCommLayerServerDBus::GetPluginSettings(const std::string& pName)
+map_plugin_settings_t CCommLayerServerDBus::GetPluginSettings(const std::string& pName, const std::string& pSender)
{
- return m_pObserver->GetPluginSettings(pName);
+ unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
+ return m_pObserver->GetPluginSettings(pName, to_string(unix_uid));
}