Primitive access for private pages
这个提交包含在:
父节点
fd5c50c662
当前提交
a261fd1035
@ -1,7 +1,7 @@
|
||||
# TODO: Implement access control for pages
|
||||
|
||||
def read_page(request, rel_path):
|
||||
return True
|
||||
return "private" not in rel_path or write_page(request, rel_path)
|
||||
|
||||
|
||||
def write_page(request, rel_path):
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户