* Adjust access permission of create doc.

This commit is contained in:
liyuchun
2021-09-14 09:48:12 +08:00
parent ef4d051601
commit a22c3ba71f
+2
View File
@@ -378,6 +378,8 @@ class commonModel extends model
if(common::hasPriv($objectType, $createMethod))
{
if($objectType == 'doc' and !common::hasPriv('doc', 'tableContents')) continue;
/* Determines whether to print a divider. */
if($needPrintDivider and $showCreateList)
{