Comment 22 for bug 1008344

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2012-12-31 20:54, Steve Langasek wrote:
> On Mon, Dec 31, 2012 at 06:16:40PM -0000, Gunnar Hjalmarsson wrote:
>> Seems like it says "no, but you can authenticate by providing the
>> credentials for an admin user". And that's not what we want to
>> know, is it?
>
> Yes, it is. That's how polkit works

Let's not forget the context, please. language-selector contains some buttons for accomplishing tasks that only admin users are allowed to do. Those buttons are greyed out for non-admin users.

It seems to me that polkit is not designed to provide the info necessary to distinguish beforehand between admin and non-admin users. I suppose you agree that the answer "no, but you can authenticate by providing the credentials for an admin user" isn't useful for that purpose. If you don't, I may be missing something.