Clayton says: integrates with systemd (logind) Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
10 lines
267 B
Plaintext
10 lines
267 B
Plaintext
// 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";
|
|
}
|
|
});
|
|
|
|
|