1. 06 Nov, 2018 1 commit
  2. 04 Sep, 2017 1 commit
  3. 24 Apr, 2017 1 commit
  4. 13 Feb, 2017 1 commit
  5. 09 Aug, 2016 1 commit
  6. 15 Apr, 2016 1 commit
  7. 25 Jan, 2016 2 commits
  8. 21 Nov, 2015 1 commit
  9. 18 Nov, 2015 1 commit
  10. 16 Nov, 2015 1 commit
  11. 06 Oct, 2015 1 commit
  12. 28 Aug, 2015 1 commit
  13. 03 Jun, 2013 1 commit
  14. 27 Jan, 2009 1 commit
  15. 07 Dec, 2008 1 commit
    • 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
  16. 06 Nov, 2008 1 commit
  17. 28 Oct, 2007 1 commit
    • David Zeuthen's avatar
      rewrite authorization database and polkit-grant (now known as polkit-auth) · bed2fe1c
      David Zeuthen authored
      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.
      bed2fe1c