Add missint polkit rules.
This commit is contained in:
parent
7153818526
commit
be44b4c2c1
8
10-vagrant.rules
Normal file
8
10-vagrant.rules
Normal file
@ -0,0 +1,8 @@
|
||||
/* Allow users in vagrant group to manage libvirt without authentication */
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.libvirt.unix.manage"
|
||||
|| action.id == "org.libvirt.unix.monitor")
|
||||
&& subject.isInGroup("vagrant")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user