mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +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'];
|
$dms = $this->params['dms'];
|
||||||
$user = $this->params['user'];
|
$user = $this->params['user'];
|
||||||
$folder = $this->params['folder'];
|
$folder = $this->params['folder'];
|
||||||
|
$accessobject = $this->params['accessobject'];
|
||||||
$document = $this->params['document'];
|
$document = $this->params['document'];
|
||||||
$transition = $this->params['transition'];
|
$transition = $this->params['transition'];
|
||||||
|
|
||||||
|
@ -125,7 +126,13 @@ $(document).ready(function() {
|
||||||
$this->columnStart(8);
|
$this->columnStart(8);
|
||||||
?>
|
?>
|
||||||
<div id="workflowgraph">
|
<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>
|
<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>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user