mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
8 lines
189 B
Text
8 lines
189 B
Text
|
polkit.addRule(function(action, subject) {
|
||
|
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 &&
|
||
|
subject.isInGroup("netdev")) {
|
||
|
return polkit.Result.YES;
|
||
|
}
|
||
|
});
|
||
|
|