diff options
author | Matteo Pasotti <matteo@mageia.org> | 2013-01-03 18:36:31 +0000 |
---|---|---|
committer | Matteo Pasotti <matteo@mageia.org> | 2013-01-03 18:36:31 +0000 |
commit | 212e08b5a35383486d80e09c8a3823d8b04d8424 (patch) | |
tree | da0c0d2c2422e9cfbcd00ca84050952f7a1302cc | |
parent | aeed54ff3215a4db056e87298e4666cba59c0f8e (diff) | |
download | manatools-212e08b5a35383486d80e09c8a3823d8b04d8424.tar manatools-212e08b5a35383486d80e09c8a3823d8b04d8424.tar.gz manatools-212e08b5a35383486d80e09c8a3823d8b04d8424.tar.bz2 manatools-212e08b5a35383486d80e09c8a3823d8b04d8424.tar.xz manatools-212e08b5a35383486d80e09c8a3823d8b04d8424.zip |
- improved polkit policy
- switched logviewer module from old Auth to AdminPanel::Privileges
-rw-r--r-- | extras/org.mageia.policykit.pkexec.adminpanel.policy | 9 | ||||
-rwxr-xr-x | modules/logviewer/logviewer.pl | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/extras/org.mageia.policykit.pkexec.adminpanel.policy b/extras/org.mageia.policykit.pkexec.adminpanel.policy index 1d846779..78f47d09 100644 --- a/extras/org.mageia.policykit.pkexec.adminpanel.policy +++ b/extras/org.mageia.policykit.pkexec.adminpanel.policy @@ -4,19 +4,18 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <policyconfig> - <vendor>APanel PolicyKit Configuration</vendor> - <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url> + <vendor>Mageia.Org</vendor> + <vendor_url>http://www.mageia.org</vendor_url> <action id="org.mageia.policykit.pkexec.adminpanel"> <description>Allow APanel GUI</description> <message>Authentication is required to run the program apanel (user=$(user), program=$(program), command_line=$(command_line))</message> <defaults> <allow_any>no</allow_any> - <allow_inactive>no</allow_inactive> + <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active> </defaults> <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/apanel.pl</annotate> - <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> </action> - </policyconfig> diff --git a/modules/logviewer/logviewer.pl b/modules/logviewer/logviewer.pl index 7840afd0..18d3a748 100755 --- a/modules/logviewer/logviewer.pl +++ b/modules/logviewer/logviewer.pl @@ -29,7 +29,7 @@ use lib qw(/usr/lib/libDrakX); use standalone; #- warning, standalone must be loaded very first, for 'explanations' use c; use common; -# use Auth; +#use AdminPanel::Privileges; use yui; ### TODO icon |