Fix: View right for non existing startpage
这个提交包含在:
父节点
ac1b22953b
当前提交
cc585eaaa0
@ -53,7 +53,7 @@ def page(request, rel_path):
|
||||
title = rel_path.split("/")[-1]
|
||||
#
|
||||
acc = access_control(request, rel_path)
|
||||
if acc.may_read():
|
||||
if acc.may_read() or (p is None and rel_path == config.STARTPAGE):
|
||||
if p is None or p.deleted:
|
||||
if rel_path == config.STARTPAGE:
|
||||
page_content = mycreole.render_simple(SUCCESS_PAGE)
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户