LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 10.virt.rules of Package opennebula (Project home:cro:branches:home:cro)

polkit.addRule(function(action, subject) {
    polkit.log("action=" + action);
    polkit.log("subject=" + subject);
    var now = new Date();
    polkit.log("now=" + now)
    if ((action.id == "org.libvirt.unix.manage" || action.id == "org.libvirt.unix.monitor") && subject.isInGroup("libvirt")) {
        return polkit.Result.YES;
    }
    return null;
});