Only allow privileged apps to check authz and add ActionLookup interface
authorDavid Zeuthen <davidz@redhat.com>
Wed, 13 May 2009 14:58:04 +0000 (10:58 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 13 May 2009 14:58:04 +0000 (10:58 -0400)
commit86008e618476834c040bf7db40bbc887cca2fbb5
treed1bf9e9c6e4d1732c2afcc118d623e22901fcfc7
parente80ede9e28ef889cd7592b4e6cab3708d63faa22
Only allow privileged apps to check authz and add ActionLookup interface

Also remove the ObtainAuthorization() call and allow apps to pass
details to CheckAuthorization.
26 files changed:
data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml
data/org.freedesktop.PolicyKit1.Authority.xml
docs/polkit/Makefile.am
docs/polkit/polkit-docs.xml
docs/polkit/polkit-sections.txt
docs/polkitagent/Makefile.am
docs/polkitbackend/Makefile.am
docs/polkitbackend/polkitbackend-sections.txt
docs/polkitbackend/polkitbackend.types
src/examples/Makefile.am
src/examples/cancel.c
src/examples/cancelobtain.c [deleted file]
src/nullbackend/polkitbackendnullauthority.c
src/polkit/polkitauthority.c
src/polkit/polkitauthority.h
src/polkitagent/polkitagentlistener.c
src/polkitagent/polkitagentlistener.h
src/polkitbackend/Makefile.am
src/polkitbackend/polkitbackend.h
src/polkitbackend/polkitbackendactionlookup.c [new file with mode: 0644]
src/polkitbackend/polkitbackendactionlookup.h [new file with mode: 0644]
src/polkitbackend/polkitbackendauthority.c
src/polkitbackend/polkitbackendauthority.h
src/polkitbackend/polkitbackendlocalauthority.c
src/polkitbackend/polkitbackendtypes.h
src/programs/polkit.c