On Wed, Mar 21, 2007 at 09:06:42PM +0100, Kevin Krammer wrote:
> Or even a list of property dicts, e.g.
> 
> { "Capability" => "Hibernate",

>    "Users" => [ "root" ],
>    "Groups" => [ "root", "powerdev" ],
>    "Access" => "AtConsole" }
> 
uhhh ... you just put policy-internal knowledge into the api.
i'm not sure whether it is possible to remove this, though - after all,
you can't pop up a password dialog automatically if you don't know that
the missing key is a wrong group.
i spent way too little time on this to make a halfways informed decision
...

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to