10 lines
267 B
Text
10 lines
267 B
Text
|
// Let users in plugdev group modify NetworkManager
|
||
|
polkit.addRule(function(action, subject) {
|
||
|
if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
|
||
|
subject.isInGroup("plugdev") && subject.active) {
|
||
|
return "yes";
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|