polkit.addRule(function(action, subject) {
    if (action.id == "org.solydxk.iso_constructor.setup-iso-builder") {
        return polkit.Result.YES;
    }

    if (action.id.startsWith("org.solydxk.iso_constructor.") &&
        subject.isInGroup("iso-builder")) {
        return polkit.Result.YES;
    }
});
