1. 15 Apr, 2013 3 commits
  2. 12 Apr, 2013 2 commits
  3. 14 Nov, 2012 1 commit
  4. 08 Jun, 2012 1 commit
  5. 07 Jun, 2012 1 commit
  6. 04 Jun, 2012 1 commit
  7. 25 May, 2012 2 commits
  8. 23 May, 2012 1 commit
  9. 22 May, 2012 1 commit
  10. 24 Apr, 2012 2 commits
  11. 12 Apr, 2012 2 commits
  12. 11 Apr, 2012 1 commit
  13. 22 Dec, 2011 1 commit
  14. 17 Nov, 2011 1 commit
  15. 01 Apr, 2011 1 commit
  16. 03 Mar, 2011 1 commit
    • David Zeuthen's avatar
      Deprecated PolkitBackendActionLookup · 02cebdb0
      David Zeuthen authored
      Instead, pass the untranslated message as polkit.message and set the
      gettext domain on polkit.gettext_domain. For printf()-style messages,
      occurences of the form $(name_of_key) in the translated version of
      polkit.message are expanded with the value of the property
      name_of_key. See the pkexec(1) mechanism for an example of how to use
      this.
      
      Additionally, the property polkit.icon_name can be set to the
      icon. Note that not all authentication agents use this - in
      particular, gnome-shell does not.
      
      It is no longer possible to set the details to be shown in the
      authentication dialog. It was never a good idea to hide information
      there anyway. Instead, the mechanism should format a meaningful
      message.
      Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
      02cebdb0
  17. 23 Feb, 2011 3 commits
  18. 22 Feb, 2011 1 commit
  19. 21 Feb, 2011 2 commits
  20. 20 Aug, 2010 1 commit
  21. 12 Aug, 2010 1 commit
    • David Zeuthen's avatar
      Add textual authentication agent and use it in pkexec(1) · 42177383
      David Zeuthen authored
      This makes pkexec(1) work when e.g. logging in via ssh(1) or the linux
      console but also when using `su -'. Example:
      
       [davidz@x61 ~]$ su - bateman
       Password:
       [bateman@x61 ~]$ pkexec bash
       ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
       Authentication is needed to run `/bin/bash' as the super user
       Authenticating as: root
       Password:
       ==== AUTHENTICATION COMPLETE ===
       [root@x61 ~]#
      
      Summary of changes
      
       - Added a PolkitAgentTextListener class
      
       - Add new polkit_agent_listener_register() (and _unregister()) API
      
       - Deprecate polkit_agent_register_listener API
      
       - Allow registering authentication agents for PolkitUnixProcess subjects
         and prefer such agents to ones governing the session
      
       - Make PolkitAgentSession use the thread-default GMainContext - otherwise
         it won't work in spawned threads
      
       - (finally) use PolkitAgentTextListener in pkexec(1) if authorization
         via authentication is possible but no authentication agent was
         found
      Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
      42177383
  22. 09 Aug, 2010 2 commits
  23. 07 Aug, 2010 1 commit
  24. 03 Aug, 2010 2 commits
  25. 30 Jul, 2010 1 commit
  26. 29 Jul, 2010 2 commits
  27. 13 Nov, 2009 1 commit
  28. 11 Nov, 2009 1 commit
    • David Zeuthen's avatar
      Port lockdown from pklalockdown(1) to D-Bus methods · 8f7727e1
      David Zeuthen authored
      Also rename the action from org.freedesktop.policykit.localauthority.lockdown
      to org.freedesktop.policykit.lockdown since any authority implementation
      can now implement this.
      
      This changes only ABI/API used by e.g. polkit-gnome. This is fine
      since we're not at 1.0 yet.
      8f7727e1