[maemo-developers] No subject
From:Date: Tue Aug 2 10:58:14 EEST 2011
- Previous message: No subject
- Next message: No subject
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
face, so taking<br> a look at /etc/dbus-1/system.d/aegis.csd-call.conf [1], by quick look it se= ems it only needs<br> "Cellular", so you just need to add the line<br> <br> <credential name=3D"Cellular" /><br> <br> in the manifest request section.<br> <br> [1] The prefix "aegis." in DBus policy configuration just tells t= hat this policy is automatically<br> generated from the manifest of csd-call. It uses a new keyword "cred&q= uot;, which is just a generic<br> way to reference any credential in the linux credentials set (not just &quo= t;user" and "group",<br> like standard DBus daemon).<br> <br> <br> <div style=3D"font-family: Times New Roman; color: rgb(0, 0, 0); font-size:= 16px;"> <hr> <div style=3D"direction: ltr;"><font color=3D"#000000" face=3D"Tahoma" size= =3D"2"><b>From:</b> <a href=3D"mailto:maemo-developers-bounces at maemo.org" target=3D"_blank">mae= mo-developers-bounces at maemo.org</a> [<a href=3D"mailto:maemo-developers-bou= nces at maemo.org" target=3D"_blank">maemo-developers-bounces at maemo.org</a>] o= n behalf of ext Felipe Crochik [<a href=3D"mailto:felipe at crochik.com" targe= t=3D"_blank">felipe at crochik.com</a>]<br> <b>Sent:</b> Saturday, November 05, 2011 10:23 PM<br> <b>To:</b> <a href=3D"mailto:maemo-developers at maemo.org" target=3D"_blank">= maemo-developers at maemo.org</a><br> <b>Subject:</b> Aegis/Harmattan - how to add permission?<br> </font><br> </div> <div> <div></div> <div class=3D"h5"> <div></div> <div>I am trying to get my application to start a call using the good old d= bus com.nokia.csd.Call.CreateWidth method but, of course, can't get aegis t= o grant me access to it.<br> <br> When I start it from QtCreator it works just fine. When I try to start the = application on the phone I get:<br> <br> QDBusMessage(type=3DError, service=3D"", error name=3D"org.f= reedesktop.DBus.Error.AccessDenied", error message=3D"Rejected se= nd message, 2 matched rules; type=3D"method_call", sender=3D"= ;:1.2976" (uid=3D29999 pid=3D9857 comm=3D"/opt/callout/bin/callou= t ") interface=3D"com.nokia.csd.Call" member=3D"CreateWith" error name=3D"(unset)" requested= _reply=3D0 destination=3D"com.nokia.csd.Call" (uid=3D30000 pid=3D= 634 comm=3D"/usr/sbin/csd -z -p call autorej=3D0,autoans=3D0,ecall&quo= t;))", signature=3D"", contents=3D() )<br> <br> Qt creator was "nice enough" to create the aegis file for my pack= age 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 tel= ls me: <!--<span style=3D"color: rgb(192, 192, 192);"> </span>Application<span style=3D"color: rgb(192, 192, 192);"> </span>access= es<span style=3D"color: rgb(192, 192, 192);"> </span>DBus<span style=3D"color: rgb(192, 192, 192);"> </span>libraries<spa= n style=3D"color: rgb(192, 192, 192);"> </span>directly.<span style=3D"color: rgb(192, 192, 192);"> </span>--> g= o figure out! :)<br> <br> Any hints?<br> <br> Thanks, <br> Felipe<br> <br> <br> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> </div> </div> </div> </body> </html> --_000_19A208251C4CAD4BB734996C26342720A0CAF6008AM1MPN1014mgdn_--
- Previous message: No subject
- Next message: No subject
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]