some more easy patches

Matthias Clasen matthias.clasen at gmail.com
Thu Jan 29 13:55:31 PST 2009


On Thu, Jan 29, 2009 at 11:17 AM, David Zeuthen <zeuthen at gmail.com> wrote:
> On Thu, Jan 29, 2009 at 12:00 AM, Matthias Clasen
> <matthias.clasen at gmail.com> wrote:
>> These patches close a few gaps in the local backend implementation.
>> They have only been compile-tested.
>
> I've applied 0002-trivial-cleanup.patch. I really don't want to apply
> the other patches as they haven't been tested. Any chance you can test
> them? Otherwise I get to them when finishing the UI bits (working on
> it right now, makes testing things like these a lot easier).

Testing them with polkit-1 revealed that I erroneously unref the inquirer.
After fixing that, the checks seem to do the right thing (letting me
grant/revoke auth as root, but not as myself), and enumerating
authorizations reflects the changes I make with grant/revoke.

Here is one patch covering all three.

Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-check-authorization-when-enumerating-authorizations.patch
Type: text/x-diff
Size: 10364 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/polkit-devel/attachments/20090129/039eab78/attachment.patch 


More information about the polkit-devel mailing list