mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
check access on WorkflowGraph
This commit is contained in:
parent
6a8382747b
commit
0f786a73b6
|
@ -66,6 +66,7 @@ $(document).ready(function() {
|
|||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$accessobject = $this->params['accessobject'];
|
||||
$document = $this->params['document'];
|
||||
$transition = $this->params['transition'];
|
||||
|
||||
|
@ -125,7 +126,13 @@ $(document).ready(function() {
|
|||
$this->columnStart(8);
|
||||
?>
|
||||
<div id="workflowgraph">
|
||||
<?php
|
||||
if($accessobject->check_view_access('WorkflowGraph')) {
|
||||
?>
|
||||
<iframe src="out.WorkflowGraph.php?workflow=<?php echo $workflow->getID(); ?>&transitions[]=<?php echo $transition->getID(); ?>&documentid=<?php echo $document->getID(); ?>" width="100%" height="600" style="border: 1px solid #AAA;"></iframe>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
$this->columnEnd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user