blob: 2682ec3de7d7af5f44c1ec8edd468a57810fd6f7 (
plain)
1
2
3
4
5
6
7
|
/* Allow users in spack group to use spack feature requiring root without authentication */
polkit.addRule(function(action, subject) {
if (( action.id == "org.archlinux.pkexec.spack") &&
subject.isInGroup("spack")) {
return polkit.Result.YES;
}
});
|