mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 18:33:11 +00:00
10 lines
281 B
Plaintext
10 lines
281 B
Plaintext
|
// Allow any user in the 'libvirt' group to connect to system libvirtd
|
||
|
// without entering a password.
|
||
|
|
||
|
polkit.addRule(function(action, subject) {
|
||
|
if (action.id == "org.libvirt.unix.manage" &&
|
||
|
subject.isInGroup("libvirt")) {
|
||
|
return polkit.Result.YES;
|
||
|
}
|
||
|
});
|