[maemo-developers] Aegis/Harmattan - how to add permission?

From: Felipe Crochik felipe at crochik.com
Date: Sat Nov 5 22:23:13 EET 2011
I am trying to get my application to start a call using the good old dbus
com.nokia.csd.Call.CreateWidth method but, of course, can't get aegis to
grant me access to it.

When I start it from QtCreator it works just fine. When I try to start the
application on the phone I get:

QDBusMessage(type=Error, service="", error
name="org.freedesktop.DBus.Error.AccessDenied", error message="Rejected
send message, 2 matched rules; type="method_call", sender=":1.2976"
(uid=29999 pid=9857 comm="/opt/callout/bin/callout ")
interface="com.nokia.csd.Call" member="CreateWith" error name="(unset)"
requested_reply=0 destination="com.nokia.csd.Call" (uid=30000 pid=634
comm="/usr/sbin/csd -z -p call autorej=0,autoans=0,ecall"))", signature="",
contents=() )

Qt creator was "nice enough" to create the aegis file for my package and
even include the credentials to allow my app to access the address books
using the mobility contacts but, as far as the dbus goes, it only tells me:
<!-- Application accesses DBus libraries directly. --> go figure out! :)

Any hints?

Thanks,
Felipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20111105/dc0e3760/attachment.htm>
More information about the maemo-developers mailing list