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

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

From Manjaro
(Created page with "polkit.addRule(function(action, subject) { if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) { return polkit.Result.YES;...")
 
(No difference)

Latest revision as of 07:06, 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)
polkit.addRule(function(action, subject) {
     if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) {
         return polkit.Result.YES;
     }
 });
 
The second rule allows any user to control if the system should be shut down or restarted

polkit.addRule(function(action, subject) {

    if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});

Второе правило позволяет любому пользователю контролировать, должна ли система быть выключена или перезапущена

Cookies help us deliver our services. By using our services, you agree to our use of cookies.