KaKi87@jlai.lu to KDE@lemmy.kde.social · 26 days agoInstall updates from Discover without password ?message-squaremessage-square16fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareInstall updates from Discover without password ?KaKi87@jlai.lu to KDE@lemmy.kde.social · 26 days agomessage-square16fedilinkfile-text
minus-squareboredsquirrel@slrpnk.netlinkfedilinkarrow-up0·edit-223 days agoI have examples in the repo I linked polkit.addRule(function(action, subject) { if action.id == "ACTION" { if subject.isInGroup("wheel") { return polkit.Result.YES; } } });
minus-squareKaKi87@jlai.luOPlinkfedilinkEnglisharrow-up0·12 days agoI 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
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; } } });
I don’t have a
rules.d
directory at/etc/polkit-1/
though, I only havelocalauthority
andlocalauthority.conf.d
.Should I create the directory then create the file ?
Thanks