[Bugs] #307 UNSP: DBus policy needs checking

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Feb 24 04:18:45 EST 2009


#307: DBus policy needs checking
------------------------------------------+---------------------------------
    Reporter:  morgs                      |          Owner:  erikos           
        Type:  defect                     |         Status:  assigned         
    Priority:  Unspecified by Maintainer  |      Milestone:  0.84             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Major                      |     Resolution:                   
    Keywords:                             |   Distribution:  Ubuntu           
Status_field:  Assigned                   |  
------------------------------------------+---------------------------------

Comment(by erikos):

 This is the recent nm-user-settings.conf from nm-applet. It seems to work
 all right on Soas for me -> I can get information from the AP.

 {{{
 <!DOCTYPE busconfig PUBLIC
  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
         <policy user="root">
                 <allow own="org.freedesktop.NetworkManagerUserSettings"/>

                 <allow
 send_destination="org.freedesktop.NetworkManagerUserSettings"/>
         </policy>
         <policy at_console="true">
                 <allow own="org.freedesktop.NetworkManagerUserSettings"/>

                 <allow
 send_destination="org.freedesktop.NetworkManagerUserSettings"/>

                 <!-- Only root can get secrets -->
                 <deny
 send_destination="org.freedesktop.NetworkManagerUserSettings"
 send_interface="org.freedesktop.NetworkManagerSettings.Secrets"/>
         </policy>
         <policy context="default">
                 <deny
 send_destination="org.freedesktop.NetworkManagerUserSettings"/>

                 <allow
 send_destination="org.freedesktop.NetworkManagerUserSettings"
 send_interface="org.freedesktop.DBus.Introspectable"/>
         </policy>

         <limit name="max_replies_per_connection">512</limit>
 </busconfig>
 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/307#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list