Is that possible ?

Thanks

  • @boredsquirrel@slrpnk.net
    link
    fedilink
    2
    edit-2
    14 days ago

    I have examples in the repo I linked

    polkit.addRule(function(action, subject) {
      if action.id == "org.freedesktop.packagekit.system-update" {
        if subject.isInGroup("wheel") {
          return polkit.Result.YES;
        }
      }
    });
    

    Please ask KDE Neon devs, if placing this rule as /etc/polkit-1/rules.d/packagekit-update.rules is safe