Commit 71e3b425 authored by David Zeuthen's avatar David Zeuthen

add core polkit actions

parent 7ef7e0a3
## Process this file with automake to produce Makefile.in
SUBDIRS = data src docs po
SUBDIRS = actions data src docs po
NULL =
......
polkit_actiondir = $(datadir)/polkit-1/actions
dist_polkit_action_DATA = org.freedesktop.policykit.policy
@INTLTOOL_POLICY_RULE@
#check:
# $(top_builddir)/tools/polkit-policy-file-validate-1 $(top_srcdir)/policy/$(dist_polkit_action_DATA)
clean-local :
rm -f *~
DISTCLEANFILES = org.freedesktop.policykit.policy
EXTRA_DIST = org.freedesktop.policykit.policy.in
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!-- Policy definitions for core PolicyKit actions. Copyright (c) 2008 Red Hat, Inc. -->
<policyconfig>
<vendor>The PolicyKit Project</vendor>
<vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url>
<action id="org.freedesktop.policykit.read">
<_description>Read authorizations of other users</_description>
<_message>Authentication is required to read authorizations of other users</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.policykit.revoke">
<_description>Revoke authorizations from other users</_description>
<_message>Authentication is required to revoke authorizations other users</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.policykit.grant">
<_description>Grant authorizations to other users</_description>
<_message>Authentication is required to grant authorizations to other users</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.policykit.modify-defaults">
<_description>Modify defaults for implicit authorizations</_description>
<_message>Authentication is required to modify the defaults for implicit authorizations</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
</policyconfig>
......@@ -156,6 +156,7 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[gettext domain])
AC_OUTPUT([
Makefile
actions/Makefile
data/Makefile
src/Makefile
src/polkit/Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment