Created
June 6, 2018 16:20
-
-
Save stbenjam/e9eb497d3163ac861bde560f4f114043 to your computer and use it in GitHub Desktop.
Libvirt polkit rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
polkit.addRule(function(action, subject) { | |
if (action.id == "org.libvirt.unix.manage" && | |
subject.isInGroup("wheel")) { | |
return polkit.Result.YES; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment