Mailinglist Archive: yast-commit (870 mails)

< Previous Next >
[yast-commit] r48888 - /branches/tmp/lslezak/workshop/core/scr/src/ScriptingAgent.cc
  • From: jsuchome@xxxxxxxxxxxxxxxx
  • Date: Fri, 04 Jul 2008 11:49:11 -0000
  • Message-id: <20080704114911.27D909DFA0@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Fri Jul 4 13:49:10 2008
New Revision: 48888

URL: http://svn.opensuse.org/viewcvs/yast?rev=48888&view=rev
Log:
looks like policykit doesn't handle sysconfig paths otherwise... (?)

Modified:
branches/tmp/lslezak/workshop/core/scr/src/ScriptingAgent.cc

Modified: branches/tmp/lslezak/workshop/core/scr/src/ScriptingAgent.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/core/scr/src/ScriptingAgent.cc?rev=48888&r1=48887&r2=48888&view=diff
==============================================================================
--- branches/tmp/lslezak/workshop/core/scr/src/ScriptingAgent.cc (original)
+++ branches/tmp/lslezak/workshop/core/scr/src/ScriptingAgent.cc Fri Jul 4
13:49:10 2008
@@ -594,7 +594,10 @@
std::string pathstr(path->toString().c_str());
y2internal("Path: %s", pathstr.c_str());

- std::string action_id(polkit_prefix + pathstr + "." + toLower(command));
+// std::string action_id(polkit_prefix + pathstr + "." + toLower(command));
+ std::string action_id(polkit_prefix + toLower (pathstr) + "." +
toLower(command));
+
+ y2security ("action id: %s", action_id.c_str());

// check the policy here
if (PolKit::isDBusUserAuthorized(action_id, dbus_caller))

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages