Is that possible ?

Thanks

    • boredsquirrel@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      18 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