2023-07-24 18:56:10 -07:00
|
|
|
polkit.addRule(function(action, subject) {
|
2023-07-24 22:08:49 -07:00
|
|
|
if ((action.id == "org.bazzite.dmidecode.pkexec" &&
|
|
|
|
subject.isInGroup("wheel")) {
|
2023-07-24 18:56:10 -07:00
|
|
|
return polkit.Result.YES;
|
|
|
|
}
|
2023-07-24 22:08:49 -07:00
|
|
|
});
|