app/soc/views/models/presence.py
changeset 2388 eb1a6abdb056
parent 2384 71780864a5ed
child 2782 3944749338d3
equal deleted inserted replaced
2386:a518ea56f6b5 2388:eb1a6abdb056
   140       # use the IsDocumentWritable check because we have no django args
   140       # use the IsDocumentWritable check because we have no django args
   141       rights.checkIsDocumentWritable({'key_name': home_doc.key().name(),
   141       rights.checkIsDocumentWritable({'key_name': home_doc.key().name(),
   142                                       'prefix': home_doc.prefix,
   142                                       'prefix': home_doc.prefix,
   143                                       'scope_path': home_doc.scope_path,
   143                                       'scope_path': home_doc.scope_path,
   144                                       'link_id': home_doc.link_id},
   144                                       'link_id': home_doc.link_id},
   145                                       'key_name')
   145                                      'key_name')
   146       allowed_to_edit = True
   146       allowed_to_edit = True
   147     except:
   147     except:
   148       pass
   148       pass
   149 
   149 
   150     if allowed_to_edit:
   150     if allowed_to_edit: