mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 00:15:34 +00:00
add more access checks for actions 'info' and 'form'
This commit is contained in:
parent
088a146888
commit
7e3535ad1a
|
@ -205,14 +205,19 @@ $(document).ready( function() {
|
|||
?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="ajax" data-view="RoleMgr" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||
<?php if($accessop->check_view_access($this, array('action'=>'info'))) { ?>
|
||||
<div class="ajax" data-view="RoleMgr" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="span8">
|
||||
<div class="well">
|
||||
<?php if($accessop->check_view_access($this, array('action'=>'form'))) { ?>
|
||||
<div class="ajax" data-view="RoleMgr" data-action="form" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$this->contentEnd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user