Bug 16510

Summary: Create option allow_remote
Product: PolicyKit Reporter: Marcelo Shima <marceloshima>
Component: libpolkitAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED WORKSFORME QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Marcelo Shima 2008-06-24 20:16:26 UTC
There is no way to grant an action to an user if the running session is defined with is-local=false on ConsoleKit. I am integrating FreeNX with ConsoleKit/PolicyKit and would be nice to allow actions on a local console and deny on a remote console, and allow to do it on a remote console if configured to do so.
Comment 1 David Zeuthen (not reading bugmail) 2009-10-21 10:36:34 UTC
This bug report is for the old version of PolicyKit. Closing as all of the code has been rewritten. Please reopen if the bug report applies to the latest version of PolicyKit. Thanks.
Comment 2 healthy 2010-08-12 08:58:39 UTC
There is no way to grant an action to an user if the running session is defined
with is-local=false on ConsoleKit. I use ubuntu 10.04 amd64.I am integrating vnc with
ConsoleKit/PolicyKit and would be nice to allow actions on a local console and
deny on a remote console, and allow to do it on a remote console if configured
to do so.
Comment 3 David Zeuthen (not reading bugmail) 2010-08-12 09:17:49 UTC
(In reply to comment #2)
> There is no way to grant an action to an user if the running session is defined
> with is-local=false on ConsoleKit. I use ubuntu 10.04 amd64.I am integrating
> vnc with
> ConsoleKit/PolicyKit and would be nice to allow actions on a local console and
> deny on a remote console, and allow to do it on a remote console if configured
> to do so.

Yes there is a way to do this. It's called <allow_any>.
Comment 4 healthy 2010-08-12 18:56:58 UTC
Thank you verymuch!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.