rewrite authorization database and polkit-grant (now known as polkit-auth)
authorDavid Zeuthen <davidz@redhat.com>
Sun, 28 Oct 2007 23:18:37 +0000 (19:18 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Sun, 28 Oct 2007 23:18:37 +0000 (19:18 -0400)
commitbed2fe1c79c6d0d5ebc9fec48f0d49a8bb0eb988
tree1445c739cc0d35db4a2746ddff6a6c854421eb3f
parente32810155aef77cbfbc40e2150e40ab82419efa7
rewrite authorization database and polkit-grant (now known as polkit-auth)

Also,

 - Rename polkit-list-actions to polkit-action.
 - Add a bash completion script to the polkit commandline tools.

Authorizations are no longer world-readable. So for this to work with
hal you now need to do this as root

 # polkit-auth --user haldaemon --grant org.freedesktop.policykit.read

Distributions needs to do this in the %post scripts or similar.

Sorry for this huge monster patch.
43 files changed:
Makefile.am
autogen.sh
configure.in
doc/Makefile.am
doc/man/Makefile.am
doc/man/PolicyKit.conf.xml
doc/man/PolicyKit.xml
doc/man/polkit-action.xml [moved from doc/man/polkit-list-actions.xml with 72% similarity]
doc/man/polkit-auth.xml [new file with mode: 0644]
doc/man/polkit-grant.xml [deleted file]
doc/polkit-docs.xml
po/ChangeLog [new file with mode: 0644]
po/LINGUAS [new file with mode: 0644]
po/POTFILES.in [new file with mode: 0644]
policy/Makefile.am
policy/org.freedesktop.policykit.policy.in [new file with mode: 0644]
policy/polkit-example-action.policy [deleted file]
polkit-dbus/Makefile.am
polkit-dbus/polkit-dbus.c
polkit-dbus/polkit-dbus.h
polkit-dbus/polkit-explicit-grant-helper.c [new file with mode: 0644]
polkit-dbus/polkit-read-auth-helper.c [new file with mode: 0644]
polkit-dbus/polkit-revoke-helper.c [new file with mode: 0644]
polkit-grant/polkit-grant-helper-pam.c
polkit-grant/polkit-grant-helper.c
polkit/Makefile.am
polkit/polkit-authorization-constraint.c [new file with mode: 0644]
polkit/polkit-authorization-constraint.h [new file with mode: 0644]
polkit/polkit-authorization-db.c
polkit/polkit-authorization-db.h
polkit/polkit-authorization.c
polkit/polkit-authorization.h
polkit/polkit-context.c
polkit/polkit-error.c
polkit/polkit-error.h
polkit/polkit-session.c
tools/Makefile.am
tools/polkit-action.c [moved from tools/polkit-list-actions.c with 88% similarity]
tools/polkit-auth.c [new file with mode: 0644]
tools/polkit-bash-completion.sh [new file with mode: 0644]
tools/polkit-config-file-validate.c
tools/polkit-grant.c [deleted file]
tools/polkit-policy-file-validate.c