1. 07 Dec, 2008 7 commits
    • David Zeuthen's avatar
      port the .policy file parser and implement EnumerateActions · 14013ef2
      David Zeuthen authored
      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 [
               ]
            }
         ]
      14013ef2
    • David Zeuthen's avatar
      add core polkit actions · 71e3b425
      David Zeuthen authored
      71e3b425
    • David Zeuthen's avatar
    • David Zeuthen's avatar
      turn PolkitActionDescription into an user defined struct · d5a8a9bd
      David Zeuthen authored
      Now to port the XML parser and land it in polkitbackend so backends
      can easily implement EnumerateActions().
      d5a8a9bd
    • David Zeuthen's avatar
    • David Zeuthen's avatar
      fix up gtkdoc cleaning · 40cca695
      David Zeuthen authored
      40cca695
    • David Zeuthen's avatar
      change code style to be like GLib and generate error domain · 8cb60d1f
      David Zeuthen authored
      Also port to use non-reffing structs in EggDBus HEAD.
      8cb60d1f
  2. 04 Dec, 2008 2 commits
  3. 03 Dec, 2008 2 commits
  4. 06 Nov, 2008 2 commits