From 31b138d17f259f2d06a86dbbd31202ef43dbfa41 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Thu, 14 Feb 2013 14:48:20 +0100 Subject: Use auth_admin* instead of auth_self* in examples From time to time, application developers just copy example configuration without examining it in details. Because polkit is typically used to control access to system-level operations, the policy (and therefore the examples) should limit access to system administrators only. --- src/examples/org.freedesktop.policykit.examples.pkexec.policy.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in b/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in index 049c024..eab7729 100644 --- a/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in +++ b/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in @@ -13,7 +13,7 @@ no no - auth_self_keep + auth_admin_keep /usr/bin/pk-example-frobnicate -- cgit v1.2.3