blob: 95b0e0f698677e00cb2455c98a412aee7e59ba9b [file] [log] [blame]
/* give group 'datetime' rights to change settings */
/* based upon http://lists.freedesktop.org/archives/systemd-devel/2013-March/009576.html */
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.timedate1.") == 0 && subject.isInGroup("datetime")) {
return polkit.Result.YES;
}
});