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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org