Manjaro Translations:Manjaro Polkit Rules/12/fr

Translations:Manjaro Polkit Rules/12/fr

From Manjaro
Revision as of 07:41, 23 May 2024 by Dadu042 (talk | contribs) (Created page with "→‎Autoriser les utilisateurs du groupe réseau à utiliser la fonctionnalité blueman nécessitant root sans authentification: polkit.addRule(function(action, subject) {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* Autoriser les utilisateurs du groupe réseau à utiliser la fonctionnalité blueman nécessitant root sans authentification */

polkit.addRule(function(action, subject) {
    if ((action.id == "org.blueman.network.setup" ||
         action.id == "org.blueman.dhcp.client" ||
         action.id == "org.blueman.rfkill.setstate" ||
         action.id == "org.blueman.pppd.pppconnect") &&
        subject.isInGroup("network")) {
        return polkit.Result.YES;
    }
});
Cookies help us deliver our services. By using our services, you agree to our use of cookies.