mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-15 01:43:36 +03:00
Let's put everything systemd related in an extra-repos directory, so it is clear that the packages from here will end up in a separate, optional binary package repository.
9 lines
267 B
Text
9 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";
|
|
}
|
|
});
|
|
|
|
|