RoleAdministrators 权限控制
This commit is contained in:
@@ -40,12 +40,13 @@
|
||||
<div style="float:right;" > <@locale code="login.password.changepassword"/> </div>
|
||||
</a>
|
||||
</td>
|
||||
<#if Session["current_authentication"].principal.roleAdministrators==true >
|
||||
<td id="manage" nowrap>
|
||||
<a target="_blank" href="<@base/>/authz/maxkey_mgt">
|
||||
<div style="float:right;" > <@locale code="global.text.manage"/> </div>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
</#if>
|
||||
<td id="logout" class="ui-widget-header" >
|
||||
<a href="<@base/>/logout?reLoginUrl=login">
|
||||
<div style="float:right;" > <@locale code="global.text.logout"/> </div>
|
||||
|
||||
Reference in New Issue
Block a user