polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
        subject.isInGroup("role-teacher")) {
            return polkit.Result.YES;
    }
});
