[Bugs] #2087 UNSP: [Enhancement] Protected Activities

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jul 7 15:35:53 EDT 2010


#2087: [Enhancement] Protected Activities
------------------------------------------+---------------------------------
    Reporter:  tch                        |          Owner:  tch                        
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  sugar-love r?              
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by garycmartin):

 I believe this feature is already implemented with current Sugar, just
 testing in 0.88 here (but think this goes back a little while, not sure
 about 0.84 given all the back-porting that's been going on).

 I have just tested with Browse.activity protected, you can remove as a
 favourite with the home list view, but you can not erase it (erase menu
 item does not show). Trick seems to be to put the activity in
 /usr/share/sugar/activities, Sugar then removes the erase option. From
 what I remember the activity can still be upgraded (~/Activities overrides
 a version in /usr/share/sugar/activities), but I've not tested much in
 that area. The SoaS distro has been using this feature for the last couple
 of releases.

 The other option is to change the ownership permission of the ~/Activities
 activity, Sugar will then disable the Erase menu item (it's still there
 but is greyed out). This approach prevents the user from getting an
 activity upgraded, so I'd not recommend it if you value some level of
 freedom (but a nice touch that the UI indicates it can't erase something).

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


More information about the Bugs mailing list