Alright, I have a working solution.
I add /etc/polkit-1/rules.d/99-pamac-override.rules
with this contents:
polkit.addRule(function(action, subject) {
if (action.id == "org.manjaro.pamac.commit" && subject.isInGroup("butla")) {
return polkit.Result.YES;
}
})
When I add the file polkitd
reloads the rules, which can be observed when running systemctl status polkit.service
.