Re: Polkit on Duktape

2016-03-10 Thread Matthias Clasen
On Thu, Aug 13, 2015 at 2:34 PM, Simon McVittie wrote: > On 13/08/15 17:37, Jasper St. Pierre wrote: >> (just drop two new files in there, similar to pcre in glib) > > Similar to the same PCRE in GLib that has been modified locally, hasn't > been updated to a new upstream version since 2012, cause

Re: How do I suppress auth requests for PackageKit, just like in F12, or the NOPASSWD directive in sudo?

2010-07-07 Thread Matthias Clasen
On Wed, Jul 7, 2010 at 2:37 AM, Nicolas Monnet wrote: > > $ rpm -ql polkit-desktop-policy > /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf > /var/lib/polkit-1/localauthority/10-vendor.d/10-desktop-policy.pkla > Nothing in both of those files looks like it's being defined. I trust your

Re: How do I suppress auth requests for PackageKit, just like in F12, or the NOPASSWD directive in sudo?

2010-07-04 Thread Matthias Clasen
On Sat, Jul 3, 2010 at 9:50 AM, Nicolas Monnet wrote: > I'm on Fedora 13. > I've spent three hours trying to achieve this. This is all very confusing. I > just want to do something like "NOPASSWD" in sudo, that shouldn't be too > hard to achieve but I'm at a loss. > I tried  creating this file: >

Re: Paranoia for helpers - best practices

2010-03-24 Thread Matthias Clasen
On Tue, Mar 23, 2010 at 4:07 PM, Federico Mena Quintero wrote: > > So... my question is: > > * Do we need a list of best practices for PK helpers? > > * Do we need some helper APIs so that people can do operations like > those with pre-tested code? > > * Do we need, in general, a drop_file_in_sc

Re: in policy declarations

2010-01-20 Thread Matthias Clasen
On Wed, Jan 20, 2010 at 2:27 PM, Chris Masone wrote: > Hi, folks.  I've written some custom DBus services, and I'd like to use > PolicyKit to control who's allowed to send messages to them.  I see that > there's this notion of default behavior for "any", "active" sessions and > "inactive" sessions

Re: authentication agent and dbus services

2009-12-22 Thread Matthias Clasen
On Tue, Dec 22, 2009 at 4:21 AM, Yclept Nemo wrote: [...] > > Unfortunately authorization cannot procede without an authentication > agent. So, in which way should the authentication agent be started? > > Should a dbus service file be provided by polkit-gnome or polkit-1? > Should an entry ~/.x

Re: Allow putting .policy files in a different location than /usr/PolicyKit

2009-11-30 Thread Matthias Clasen
On Mon, Nov 30, 2009 at 12:23 PM, Dario Freddi wrote: > David, are there any news on this matter? I would really like to see that in > polkit-1 final. If you don't have time for this I can come up with a patch > > On Sunday 13 September 2009 09:31:13 Thiago Macieira wrote: >> Em Sábado 12. Setembr

Re: PolkitLockButton size issues

2009-10-07 Thread Matthias Clasen
On Sun, Sep 20, 2009 at 10:55 AM, Milan Bouchet-Valat wrote: > > So I think that we should improve GTK+ and the PolkitLockButton to > support this. The GtkButtonBox should allow widgets not to follow the > homogeneous size policy, since that feature is only useful to get > consistent *GtkButtons*

Re: Should the session check a negative authorisation?

2009-08-10 Thread Matthias Clasen
On Mon, Aug 10, 2009 at 9:35 AM, David Zeuthen wrote: > Thus, you should be able to just do this check in the user session using > libpolkit-gobject-1 .. that is, if you don't care about leaking the > action name "org.freedesktop.consolkit.system.restart" which is more or > less an implementation

Re: polkit_authority_check_authorization oddity

2009-07-16 Thread Matthias Clasen
On Thu, Jul 16, 2009 at 4:53 AM, Richard Hughes wrote: > > but I don't know how to find out if the user dismissed > the authentication dialog, or if the session authentication agent > simply doesn't exist. Dismissing is the same as cancelling here, no ? And if there is no agent, that is simple

Re: some more easy patches

2009-01-29 Thread Matthias Clasen
On Thu, Jan 29, 2009 at 11:17 AM, David Zeuthen wrote: > On Thu, Jan 29, 2009 at 12:00 AM, Matthias Clasen > wrote: >> These patches close a few gaps in the local backend implementation. >> They have only been compile-tested. > > I've applied 0002-trivial-cleanup.

Re: some more easy patches

2009-01-29 Thread Matthias Clasen
On Thu, Jan 29, 2009 at 3:30 AM, Richard Hughes wrote: > On Thu, 2009-01-29 at 00:00 -0500, Matthias Clasen wrote: >> These patches close a few gaps in the local backend implementation. >> They have only been compile-tested. > > David, is okay for me to apply patches like thi

some more easy patches

2009-01-28 Thread Matthias Clasen
These patches close a few gaps in the local backend implementation. They have only been compile-tested. Matthias From c7426ee04ff41a11bc9904465b59800c6913dff2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 28 Jan 2009 23:10:49 -0500 Subject: [PATCH 1/4] check authorization when

another todo item

2009-01-28 Thread Matthias Clasen
Low-hanging fruit... From d3ae9811b3f29d15cc4d017c8b00b88560b01a37 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 28 Jan 2009 22:42:42 -0500 Subject: [PATCH] rate-limit the directory monitor Set a rate-limit of 500ms on the monitor which directories the /usr/share/polkit1/actions

update TODO

2009-01-28 Thread Matthias Clasen
Trying to help out a little more, I combed through the sources, and collected all the TODOs into docs/TODO. Matthias From f75de567a20deee477b58ff0ac8081232f29fe26 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 28 Jan 2009 17:58:02 -0500 Subject: [PATCH] update docs/TODO with TODOs

polkit-1 man page

2009-01-28 Thread Matthias Clasen
Here is a small patch that fills out the "Subject" and "Identity" sections of the polkit-1 man page a little bit. Matthias From 92c03f6124c5584e4c358b3e80786e65687a9a47 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 27 Jan 2009 22:18:37 -0500 Subject: [PATCH] Fil

Re: PolicyKit 0.90 (pre-)release

2009-01-22 Thread Matthias Clasen
On Thu, Jan 22, 2009 at 11:25 AM, Richard Hughes wrote: > On Wed, 2009-01-21 at 10:35 -0500, David Zeuthen wrote: >> I would hold off with doing that at least until 0.91 is out next >> week. But packagers should already experiment with packaging up the >> stuff. > > Have you already done packages