Manjaro Difference between revisions of "Translations:Manjaro Polkit Rules/12/ru"

Difference between revisions of "Translations:Manjaro Polkit Rules/12/ru"

From Manjaro
(Created page with "/* Разрешить пользователям группы network использовать функцию blueman, требующую прав root, без аутенти...")
 
(No difference)

Latest revision as of 07:07, 2 February 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Manjaro Polkit Rules)
/* Allow users of network group to use blueman feature requiring root without authentication */
 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;
     }
 });

/* Разрешить пользователям группы network использовать функцию blueman, требующую прав root, без аутентификации */

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.