systemd/po
Michael Chapman 88ced61bf9 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.
2015-09-06 00:07:17 +10:00
..
.gitignore po: install translations 2013-11-28 03:43:07 -05:00
be.po po: run make update-po 2015-06-19 12:47:39 +02:00
be@latin.po po: run make update-po 2015-06-19 12:47:39 +02:00
de.po po: run make update-po 2015-06-19 12:47:39 +02:00
el.po po: run make update-po 2015-06-19 12:47:39 +02:00
es.po po: run make update-po 2015-06-19 12:47:39 +02:00
fr.po po: run make update-po 2015-06-19 12:47:39 +02:00
hu.po po: run make update-po 2015-06-19 12:47:39 +02:00
it.po po: run make update-po 2015-06-19 12:47:39 +02:00
LINGUAS l10n: Add Belarusian translation 2015-06-15 00:13:43 +03:00
pl.po po: update Polish translation 2015-08-29 20:33:02 +02:00
POTFILES.in core: pass details to polkit for some unit actions 2015-09-06 00:07:17 +10:00
POTFILES.skip readahead: wipe out readahead 2014-09-25 16:39:18 +02:00
pt_BR.po po: run make update-po 2015-06-19 12:47:39 +02:00
ru.po po: run make update-po 2015-06-19 12:47:39 +02:00
sv.po po: run make update-po 2015-06-19 12:47:39 +02:00
uk.po po: run make update-po 2015-06-19 12:47:39 +02:00
zh_TW.po po: run make update-po 2015-06-19 12:47:39 +02:00