summaryrefslogtreecommitdiff
path: root/pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules
blob: ef002c904dfaa1fe00eb3e3a00ccf40ed4edb76c (plain)
1
2
3
4
5
6
polkit.addRule(function(action, subject) {
	if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
		subject.isInGroup("network") && subject.active) {
		return "yes";
	}
});