Is that possible ?

Thanks

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    23 days ago

    I have examples in the repo I linked

    polkit.addRule(function(action, subject) {
      if action.id == "ACTION" {
        if subject.isInGroup("wheel") {
          return polkit.Result.YES;
        }
      }
    });
    
    • KaKi87@jlai.luOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days 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