#3364 BLOC Trial-3: Can't invite others to invite-only activity unless you initiated the activity

Zarro Boogs per Child bugtracker at laptop.org
Wed Sep 12 07:52:54 EDT 2007


#3364: Can't invite others to invite-only activity unless you initiated the
activity
----------------------+-----------------------------------------------------
  Reporter:  smcv     |       Owner:  marco                 
      Type:  defect   |      Status:  new                   
  Priority:  blocker  |   Milestone:  Trial-3               
 Component:  sugar    |     Version:  Git as of bug date    
Resolution:           |    Keywords:  collaboration, review+
  Verified:  0        |  
----------------------+-----------------------------------------------------

Comment(by smcv):

 {{{
 12:42 < cassidy> smcv: I have the feeling we have a lot of
 variable/properties
                  about "activity privacy"
 12:43 < cassidy> I didn't see this share_scope before but saw private,
                  invite-only, etc
 12:47 < smcv> cassidy: yeah, I thought that...
 12:48 < smcv> def get_share_scope(self):
 12:48 < smcv>   if self._shared_activity is None:
 12:48 < smcv>     return 'private'
 12:48 < smcv>   if self._shared_activity.props.private:
 12:48 < smcv>     return 'invite-only'
 12:48 < smcv>   return 'public'
 12:49 < smcv> ^ would be sufficient, I think
 12:49 < smcv> then they could lose the _share_scope attribute
 12:49 < cassidy> yeah I think that would make the whole code easier to
 read
 12:50 < smcv> it still needs to hook notify:private on the
 _shared_activity to
               pick up changes and write them into the journal metadata, I
 think
 }}}

-- 
Ticket URL: <https://dev.laptop.org/ticket/3364#comment:4>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list