summaryrefslogtreecommitdiff
path: root/src/up-polkit.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-14Remove polkit dependencyEric Koegel1-74/+0
With the removal of the suspend/hibernate code, there's no longer a need for upower to depend on polkit. This patch removes the old polkit code. Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-08-19Fix double D-BUS return in up_daemon_*_allowedMatthias Clasen1-1/+1
Do not send a D-BUS return message any more in up_polkit_is_allowed(), since this makes it hard for callers to ensure that they return exactly one result to the D-BUS caller. Instead, just pass a GError to the caller. Update up_daemon_suspend_allowed() and up_daemon_hibernate_allowed() accordingly, to always return either a result or an error. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-19Revert "Add missing D-Bus return in up_qos_cancel_request()"Martin Pitt1-2/+2
This reverts commit 1fc5aae71f474f82ba62c7a92be3aef05cc7ebef.
2010-08-19Add missing D-Bus return in up_qos_cancel_request()Matthias Clasen1-2/+2
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-09Add up_polkit_is_allowed() functionMartin Pitt1-0/+4
Add a new polkit helper function up_polkit_is_allowed() which checks whether the caller has or can get a particular privilege, but without interactive authentication. https://bugs.freedesktop.org/show_bug.cgi?id=26473
2010-01-27Update the Free Software Foundation addressRichard Hughes1-1/+1
2010-01-18trivial: DkpPolkit -> UpPolkit (no ABI or API break)Richard Hughes1-22/+22
2010-01-18trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵Richard Hughes1-0/+70
ABI changes