Esempio n. 1
0
 def auth(auth, docid):
     doc = docs.Doc.load(current_app.model_redis, docid)
     status = mconv.can_write_doc_api(doc, auth, current_app)
     return status
Esempio n. 2
0
 def auth(auth, docid):
     doc = docs.Doc.load(bokeh_app.model_redis, docid)
     status = mconv.can_write_doc_api(doc, auth, bokeh_app)
     return status
Esempio n. 3
0
 def auth(auth, docid):
     status = mconv.can_write_doc_api(docid, auth, current_app)
     return status