* [task#129965,done,2h] Add effor action.

This commit is contained in:
daitingting
2024-10-16 08:39:41 +08:00
committed by sunhao
parent f99348259d
commit d30e5b42cf
6 changed files with 15 additions and 0 deletions
+2
View File
@@ -39,6 +39,7 @@ $privs = array();
$privs['create'] = hasPriv('doc', 'create');
$privs['edit'] = hasPriv('doc', 'edit');
$privs['delete'] = hasPriv('doc', 'delete');
$privs['effort'] = hasPriv('effort', 'createForObject');
$privs['exportDoc'] = $this->config->edition != 'open' && hasPriv('doc', $type . '2export');
$privs['moveDoc'] = hasPriv('doc', 'moveDoc');
$privs['collect'] = hasPriv('doc', 'collect');
@@ -85,6 +86,7 @@ $langData->moveTo = $lang->doc->moveTo;
$langData->create = $lang->doc->createAB;
$langData->createDoc = $lang->doc->create;
$langData->editDoc = $lang->doc->edit;
$langData->effort = $lang->doc->effort;
$langData->deleteDoc = $lang->doc->delete;
$langData->uploadDoc = $lang->doc->uploadDoc;
$langData->createList = $lang->doc->createList;