mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
output a message if access to form() action was prohibited
This commit is contained in:
parent
4fa95bcd48
commit
504cfe6d3e
|
@ -211,11 +211,13 @@ $(document).ready( function() {
|
|||
</div>
|
||||
|
||||
<div class="span8">
|
||||
<div class="well">
|
||||
<?php if($accessop->check_view_access($this, array('action'=>'form'))) { ?>
|
||||
<div class="well">
|
||||
<div class="ajax" data-view="RoleMgr" data-action="form" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } else {
|
||||
$this->errorMsg(getMLText('access_denied'));
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user