mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
do not allow to set workflow of previous versions
This commit is contained in:
parent
6f8f56ad4b
commit
2e8ab0cb52
|
@ -819,6 +819,7 @@ $(document).ready( function() {
|
|||
if($islatest && $accessobject->mayOverwriteStatus()) {
|
||||
$items[] = array('link'=>$this->html_url('OverrideContentStatus', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'align-justify', 'label'=>'change_status');
|
||||
}
|
||||
if(0) {
|
||||
if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||
// Allow changing reviewers/approvals only if not reviewed
|
||||
if($accessobject->maySetReviewersApprovers()) {
|
||||
|
@ -832,6 +833,7 @@ $(document).ready( function() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if($accessobject->check_view_access('EditComment'))
|
||||
if($accessobject->mayEditComment()) {
|
||||
$items[] = array('link'=>$this->html_url('EditComment', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'comment', 'label'=>'edit_comment');
|
||||
|
|
Loading…
Reference in New Issue
Block a user