* [misc] add doc restore priv setting.

This commit is contained in:
sunhao
2025-05-09 13:41:25 +08:00
committed by 刘刚
parent bac62df54b
commit 10a0d7dca4
+1
View File
@@ -64,6 +64,7 @@ $privs['createRelease']= hasPriv('api', 'createRelease');
$privs['releases'] = hasPriv('api', 'releases');
$privs['struct'] = hasPriv('api', 'struct');
$privs['createOffice'] = $privs['create'];
$privs['restoreDoc'] = $privs['edit'];
$privs['addChapter'] = hasPriv('doc', 'addChapter');
$privs['editChapter'] = hasPriv('doc', 'editChapter');