mirror of
https://github.com/ublue-os/titanoboa.git
synced 2026-11-03 21:49:46 -09:00
10 lines
288 B
Text
10 lines
288 B
Text
polkit.addRule(function(action,subject) {
|
|
if ( (action.id == "org.freedesktop.policykit.exec") &&
|
|
(action.lookup("program") == "/usr/bin/bootc") &&
|
|
(subject.isInGroup("wheel") ) ) {
|
|
return polkit.Result.YES;
|
|
}
|
|
|
|
return polkit.Result.NOT_HANDLED;
|
|
}
|
|
);
|