blob: e2a753262f6933352df5b04fb1e5b277c397f6ab (
plain) (
blame)
1
2
3
4
5
6
7
|
// Let users in netdev group modify NetworkManager
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
subject.isInGroup("netdev") && subject.active) {
return "yes";
}
});
|