Is that possible ?

Thanks

  • boredsquirrel
    link
    fedilink
    2
    edit-2
    10 months 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

    • @KaKi87@jlai.luOP
      link
      fedilink
      English
      110 months ago

      I don’t have a rules.d directory at /etc/polkit-1/ though, I only have localauthority and localauthority.conf.d.

      Should I create the directory then create the file ?

      Thanks