summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
David Zeuthen [Mon, 19 Jan 2009 19:53:48 +0000 (14:53 -0500)]
forgot to add new PolkitIdentity interface
David Zeuthen [Mon, 19 Jan 2009 19:52:46 +0000 (14:52 -0500)]
split Subject into Subject and Identity and revise API
... also remove EnumerateSessions
David Zeuthen [Mon, 19 Jan 2009 01:37:02 +0000 (20:37 -0500)]
add remaining glue for {Add,Remove,Enumerate}Authorization
Now to finish implementing the local files backend....
David Zeuthen [Sun, 18 Jan 2009 21:14:39 +0000 (16:14 -0500)]
rename CheckClaim() to CheckAuthorization()
Also get rid of AuthorizationClaim type and add D-Bus prototypes for a
couple of other methods.
David Zeuthen [Sun, 18 Jan 2009 19:39:05 +0000 (14:39 -0500)]
slighty fix up docs
David Zeuthen [Sun, 18 Jan 2009 19:20:51 +0000 (14:20 -0500)]
add checks for whether someone is authorized to check authorizations
David Zeuthen [Fri, 16 Jan 2009 19:41:48 +0000 (14:41 -0500)]
add PolkitUnixSession and associcated functions
David Zeuthen [Fri, 16 Jan 2009 17:54:11 +0000 (12:54 -0500)]
remove attributes from AuthorizationClaim and CheckClaim()
David Zeuthen [Fri, 16 Jan 2009 17:25:09 +0000 (12:25 -0500)]
implement 'polkit-1 list authorizations'
David Zeuthen [Thu, 15 Jan 2009 17:13:59 +0000 (12:13 -0500)]
add async versions of PolkitAuthority methods
David Zeuthen [Tue, 13 Jan 2009 23:37:59 +0000 (18:37 -0500)]
rudimentary monitoring of seats and sessions
Will add public API a'la
gboolean polkit_session_monitor_is_subject_active ();
as needed.
David Zeuthen [Tue, 13 Jan 2009 21:27:54 +0000 (16:27 -0500)]
start writing a SessionMonitor class
David Zeuthen [Mon, 12 Jan 2009 22:41:18 +0000 (17:41 -0500)]
add debug for each CheckClaim() call
David Zeuthen [Mon, 12 Jan 2009 21:54:54 +0000 (16:54 -0500)]
add infrastructure for CheckClaim() method
David Zeuthen [Mon, 12 Jan 2009 21:06:24 +0000 (16:06 -0500)]
introduce a PendingCall type to make all backend operations async
David Zeuthen [Mon, 12 Jan 2009 18:00:35 +0000 (13:00 -0500)]
add polkit_unix_user_new_for_name()
David Zeuthen [Mon, 12 Jan 2009 16:35:03 +0000 (11:35 -0500)]
improve output when enumerating actions using --verbose
David Zeuthen [Sun, 11 Jan 2009 22:06:25 +0000 (17:06 -0500)]
add polkit-1 man page and rework cmd/options handling
David Zeuthen [Wed, 7 Jan 2009 17:33:55 +0000 (12:33 -0500)]
add serialization for subjects and implement Enumerate{Users,Groups}
David Zeuthen [Wed, 7 Jan 2009 00:15:26 +0000 (19:15 -0500)]
add subject interface and some classes implementing this interface
David Zeuthen [Tue, 6 Jan 2009 21:41:21 +0000 (16:41 -0500)]
return NULL for GIcon if there is no icon
David Zeuthen [Tue, 6 Jan 2009 21:39:58 +0000 (16:39 -0500)]
add --version option
David Zeuthen [Tue, 6 Jan 2009 21:35:00 +0000 (16:35 -0500)]
bring back annotations
David Zeuthen [Tue, 6 Jan 2009 19:14:12 +0000 (14:14 -0500)]
slightly rework commandline tool
David Zeuthen [Tue, 6 Jan 2009 18:42:42 +0000 (13:42 -0500)]
forgot to add polkitprivate.h
David Zeuthen [Tue, 6 Jan 2009 18:42:16 +0000 (13:42 -0500)]
forgot to add polkittypes.h
David Zeuthen [Tue, 6 Jan 2009 18:35:24 +0000 (13:35 -0500)]
update to latest EggDBus and rework how things are done
David Zeuthen [Mon, 8 Dec 2008 06:33:00 +0000 (01:33 -0500)]
keep up with EggDBus HEAD, in the removal of _async() and addition of sync()
http://cgit.freedesktop.org/~david/eggdbus/commit/?id=
27afdc7a49ee49290e048364500d5c549f8ac614
David Zeuthen [Sun, 7 Dec 2008 22:55:36 +0000 (17:55 -0500)]
rework AuthorizationClaim to be a GInterface so we can pass it over D-Bus
David Zeuthen [Sun, 7 Dec 2008 21:59:50 +0000 (16:59 -0500)]
fix up namespacing for backend
the namespace is PolkitBackend so use POLKIT_BACKEND_TYPE rather than
POLKIT_TYPE_BACKEND.
David Zeuthen [Sun, 7 Dec 2008 21:44:11 +0000 (16:44 -0500)]
port the .policy file parser and implement EnumerateActions
Also added Danish translations to test that translations work
$ dbus-send --system --print-reply --dest=org.freedesktop.PolicyKit1 /org/freedesktop/PolicyKit1/Authority org.freedesktop.PolicyKit1.Authority.EnumerateActions string:da
method return sender=:1.4481 -> dest=:1.4483 reply_serial=2
array [
struct {
string "org.freedesktop.policykit.modify-defaults"
string "Konfigurer implicit autorisering"
string "Autentificering er påkrævet for ændre implicit autorisering"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
]
}
struct {
string "org.freedesktop.policykit.read"
string "Læs andre brugers autoriseringer"
string "Autentificering er påkrævet for at læse andre brugers autoriseringer"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
dict entry(
string "org.freedesktop.PolicyKit.run-as-superuser.path"
string "/usr/bin/BlahBlaster"
)
]
}
struct {
string "org.freedesktop.policykit.grant"
string "Autoriser en anden bruger"
string "Autentificering er påkrævet for at autorisere andre brugere"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
]
}
struct {
string "org.freedesktop.policykit.revoke"
string "Fjern autorisering fra en anden bruger"
string "Autentificering er påkrævet for at fjerne en autosering fra en anden bruger"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
]
}
]
$ dbus-send --system --print-reply --dest=org.freedesktop.PolicyKit1 /org/freedesktop/PolicyKit1/Authority org.freedesktop.PolicyKit1.Authority.EnumerateActions string:
method return sender=:1.4481 -> dest=:1.4484 reply_serial=2
array [
struct {
string "org.freedesktop.policykit.modify-defaults"
string "Modify defaults for implicit authorizations"
string "Authentication is required to modify the defaults for implicit authorizations"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
]
}
struct {
string "org.freedesktop.policykit.read"
string "Read authorizations of other users"
string "Authentication is required to read authorizations of other users"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
dict entry(
string "org.freedesktop.PolicyKit.run-as-superuser.path"
string "/usr/bin/BlahBlaster"
)
]
}
struct {
string "org.freedesktop.policykit.grant"
string "Grant authorizations to other users"
string "Authentication is required to grant authorizations to other users"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
]
}
struct {
string "org.freedesktop.policykit.revoke"
string "Revoke authorizations from other users"
string "Authentication is required to revoke authorizations other users"
string "The PolicyKit Project"
string "http://hal.freedesktop.org/docs/PolicyKit/"
string ""
array [
]
}
]
David Zeuthen [Sun, 7 Dec 2008 19:14:19 +0000 (14:14 -0500)]
add core polkit actions
David Zeuthen [Sun, 7 Dec 2008 19:01:50 +0000 (14:01 -0500)]
add a ActionPool class and rename BackendLocal to BackendLocalAuthority
David Zeuthen [Sun, 7 Dec 2008 18:14:08 +0000 (13:14 -0500)]
turn PolkitActionDescription into an user defined struct
Now to port the XML parser and land it in polkitbackend so backends
can easily implement EnumerateActions().
David Zeuthen [Sun, 7 Dec 2008 17:38:40 +0000 (12:38 -0500)]
use eggdbus to generate the AuthorizationResult enumeration
David Zeuthen [Sun, 7 Dec 2008 17:32:35 +0000 (12:32 -0500)]
fix up gtkdoc cleaning
David Zeuthen [Sun, 7 Dec 2008 17:26:19 +0000 (12:26 -0500)]
change code style to be like GLib and generate error domain
Also port to use non-reffing structs in EggDBus HEAD.
David Zeuthen [Thu, 4 Dec 2008 01:46:17 +0000 (20:46 -0500)]
update for arg shuffling in EggDBus HEAD
David Zeuthen [Thu, 4 Dec 2008 00:01:07 +0000 (19:01 -0500)]
implement EnumerateUsers()
David Zeuthen [Wed, 3 Dec 2008 19:01:12 +0000 (14:01 -0500)]
forgot to add local backend impl
David Zeuthen [Wed, 3 Dec 2008 18:59:12 +0000 (13:59 -0500)]
start using EggDBus
David Zeuthen [Thu, 6 Nov 2008 15:45:31 +0000 (10:45 -0500)]
fix up autogen.sh
David Zeuthen [Thu, 6 Nov 2008 15:43:38 +0000 (10:43 -0500)]
initial commit