equal
deleted
inserted
replaced
316 |
316 |
317 raise out_of_band.LoginRequest(message_fmt=login_message_fmt) |
317 raise out_of_band.LoginRequest(message_fmt=login_message_fmt) |
318 |
318 |
319 |
319 |
320 def checkIsDocumentPublic(request): |
320 def checkIsDocumentPublic(request): |
321 """Checks whether a document is public |
321 """Checks whether a document is public. |
322 |
322 |
323 Args: |
323 Args: |
324 request: a Django HTTP request |
324 request: a Django HTTP request |
325 """ |
325 """ |
326 |
326 |
327 # TODO: A proper check needs to be done to see if the document |
327 # TODO(srabbelier): A proper check needs to be done to see if the document |
328 # is public or not, probably involving analysing it's scope or such. |
328 # is public or not, probably involving analysing it's scope or such. |
329 allow(request) |
329 allow(request) |