[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wheel group as polkit admins
From: |
Ludovic Courtès |
Subject: |
Re: Wheel group as polkit admins |
Date: |
Sat, 23 Nov 2019 18:17:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Leo,
Leo Prikler <address@hidden> skribis:
> Thanks for the hint. Since it's all just static text, I don't really
> need the whole Guile power of computed-file, so I've shortened it to:
>
> (define polkit-wheel
> (file-union
> "polkit-wheel"
> `(("share/polkit-1/rules.d/wheel.rules"
> ,(plain-file
> "wheel.rules"
> "polkit.addAdminRule(function(action, subject) {
> return [\"unix-group:wheel\"];
> });
> ")))))
Neat.
>> Should we make that the default, BTW? It would seem to make sense as
>> that’s the whole point of the “wheel” group.
>>
>> What do people think?
>
> I'm probably biased as the author of this service, but I think it would
> probably make sense to include it in %desktop-services. Perhaps we
> could even add wheel.rules to polkit-service-type itself, although I'm
> somewhat conflicted on that, as one could not opt out.
Yeah, let’s make it a separate service like you did.
Could you send a patch that does that?
Thanks!
Ludo’.
Re: Wheel group as polkit admins, Marius Bakke, 2019/11/17