summarylogtreecommitdiffstats
path: root/bucklespring.rules
blob: eebd3149b0cbcedee5b3b3b4f19993e3eb80cc11 (plain)
1
2
3
4
5
6
7
8
9
10
// vim: ft=javascript

// Allow any user on the "wheel" group to run this deamon
// Note that this is a keylogger, do not give permissions to this program lightly
polkit.addRule(function(action, subject) {
	if (action.id == "nl.zevv.bucklespring.run" &&
		subject.isInGroup("wheel")) {
		return polkit.Result.YES;
	}
});