| 88ced61bf9673407f4b15bf51b1b408fd78c149d |
|
05-Sep-2015 |
Michael Chapman <mike@very.puzzling.org> |
core: pass details to polkit for some unit actions
The following details are passed:
- unit: the primary name of the unit upon which the action was
invoked (i.e. after resolving any aliases);
- verb: one of 'start', 'stop', 'reload', 'restart', 'try-restart',
'reload-or-restart', 'reload-or-try-restart', 'kill',
'reset-failed', or 'set-property', corresponding to the
systemctl verb used to invoke the action.
Typical use of these details in a polkit policy rule might be:
// Allow alice to manage example.service;
// fall back to implicit authorization otherwise.
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.systemd1.manage-units" &&
action.lookup("unit") == "example.service" &&
subject.user == "alice") {
return polkit.Result.YES;
}
});
We also supply a custom polkit message that includes the unit's name and
the requested operation. |
| 32fea77178ff9aaa09a7b043965fce854fdf8874 |
|
05-May-2015 |
Kay Sievers <kay@vrfy.org> |
build-sys: remove left-over |
| b0d924648600ac10101b22cdfc2b055d502fd899 |
|
18-Feb-2015 |
Didier Roche <didrocks@ubuntu.com> |
Translate fsckd messages for plymouth
For plymouth themes not supporting i18n (like .script), send translated
messages to display to user, which is equivalent to the sent machine
readable data. |
| 838d5f029882e8122b0c2c7e988546a4c4981d21 |
|
22-Jan-2015 |
Piotr Drąg <piotrdrag@gmail.com> |
import: add org.freedesktop.import1.policy.in to POTFILES.in
https://bugs.freedesktop.org/show_bug.cgi?id=88705 |
| 3fd1957f0d76a840b531aac2da56c55020271aae |
|
25-Dec-2014 |
Filipe Brandenburger <filbranden@google.com> |
machined: add org.freedesktop.machine1.policy.in to POTFILES.in
The new polkit file was introduced in commit d04c1fb8e21560 ("machined:
introduce polkit for OpenLogin() call"). |
| 216e2aded651d7861ba07b46b158134ba7f01553 |
|
15-Jul-2012 |
Kay Sievers <kay@vrfy.org> |
build-sys: fix "make distcheck" |
| 95ea1b90cc61f464f3b9bc147119dee4ba9620b8 |
|
13-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
test: hook up more tests with make check |
| 681cfc6c40b176f73204c9088bfc5a7e8bad4317 |
|
31-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
hostnamed, localed: move config files to subdir |
| 4668191d0298339c70fba485f46233f79fcedc30 |
|
31-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
timedated: move sources to subdirectory |
| d85eed730107444505477106d2fdbd2767d4fd7a |
|
31-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
logind: fix POTFILES location |
| 1c7dde3e475978c569a982d65fd86d4b4e3caad8 |
|
11-Jul-2011 |
Bastien Nocera <hadess@hadess.net> |
build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation. |