mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
check access for action info
This commit is contained in:
parent
795f03f8b8
commit
06346b956c
|
@ -165,6 +165,7 @@ $(document).ready( function() {
|
|||
$undeluserids = $this->params['undeluserids'];
|
||||
$workflowmode = $this->params['workflowmode'];
|
||||
$quota = $this->params['quota'];
|
||||
$accessop = $this->params['accessobject'];
|
||||
?>
|
||||
<form action="../op/op.UsrMgr.php" method="post" enctype="multipart/form-data" name="form" id="form">
|
||||
<?php
|
||||
|
@ -496,6 +497,7 @@ $(document).ready( function() {
|
|||
$undeluserids = $this->params['undeluserids'];
|
||||
$workflowmode = $this->params['workflowmode'];
|
||||
$quota = $this->params['quota'];
|
||||
$accessop = $this->params['accessobject'];
|
||||
|
||||
$this->htmlStartPage(getMLText("admin_tools"));
|
||||
$this->globalNavigation();
|
||||
|
@ -518,7 +520,9 @@ $(document).ready( function() {
|
|||
?>
|
||||
</select>
|
||||
</div>
|
||||
<?php if($accessop->check_view_access($this, array('action'=>'info')) || $user->isAdmin()) { ?>
|
||||
<div class="ajax" data-view="UsrMgr" data-action="info" <?php echo ($seluser ? "data-query=\"userid=".$seluser->getID()."\"" : "") ?>></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="span8">
|
||||
|
|
Loading…
Reference in New Issue
Block a user