|
|
@@ -20,22 +20,20 @@
|
|
|
<div>
|
|
|
<p class="text-success">{{t admin.security.enabled}}
|
|
|
{{#isAuthorized "CLUSTER.TOGGLE_KERBEROS"}}
|
|
|
- {{#if App.supports.enableToggleKerberos}}
|
|
|
- <button class="btn btn-padding btn-warning admin-disable-security-btn" {{bindAttr disabled="isKerberosButtonsDisabled"}} {{action notifySecurityOffPopup target="controller"}}>{{t admin.kerberos.button.disable}} </button>
|
|
|
- {{#unless isManualKerberos}}
|
|
|
- <button class="btn btn-success" id="regenerate-keytabs" {{bindAttr disabled="isKerberosButtonsDisabled"}} {{action regenerateKeytabs target="controller"}}>
|
|
|
- <i class="glyphicon glyphicon-repeat"></i> {{t admin.kerberos.button.regenerateKeytabs}}</button>
|
|
|
- {{#if App.isCredentialStorePersistent}}
|
|
|
- <button class="btn btn-primary" {{action showManageKDCCredentialsPopup target="controller"}}>{{t admin.kerberos.credentials.store.menu.label}}</button>
|
|
|
- {{/if}}
|
|
|
- {{/unless}}
|
|
|
- <br/>
|
|
|
- {{#unless isEditMode}}
|
|
|
- <a href="#" {{action makeConfigsEditable target="controller"}} class="pull-right">
|
|
|
- {{t common.edit}}
|
|
|
- </a>
|
|
|
- {{/unless}}
|
|
|
+ <button class="btn btn-padding btn-warning admin-disable-security-btn" {{bindAttr disabled="isKerberosButtonsDisabled"}} {{action notifySecurityOffPopup target="controller"}}>{{t admin.kerberos.button.disable}} </button>
|
|
|
+ {{#unless isManualKerberos}}
|
|
|
+ <button class="btn btn-success" id="regenerate-keytabs" {{bindAttr disabled="isKerberosButtonsDisabled"}} {{action regenerateKeytabs target="controller"}}>
|
|
|
+ <i class="glyphicon glyphicon-repeat"></i> {{t admin.kerberos.button.regenerateKeytabs}}</button>
|
|
|
+ {{#if App.isCredentialStorePersistent}}
|
|
|
+ <button class="btn btn-primary" {{action showManageKDCCredentialsPopup target="controller"}}>{{t admin.kerberos.credentials.store.menu.label}}</button>
|
|
|
{{/if}}
|
|
|
+ {{/unless}}
|
|
|
+ <br/>
|
|
|
+ {{#unless isEditMode}}
|
|
|
+ <a href="#" {{action makeConfigsEditable target="controller"}} class="pull-right">
|
|
|
+ {{t common.edit}}
|
|
|
+ </a>
|
|
|
+ {{/unless}}
|
|
|
{{/isAuthorized}}
|
|
|
</p>
|
|
|
</div>
|
|
|
@@ -53,10 +51,8 @@
|
|
|
<div>
|
|
|
<p class="muted background-text">{{t admin.security.disabled}}
|
|
|
{{#isAuthorized "CLUSTER.TOGGLE_KERBEROS"}}
|
|
|
- {{#if App.supports.enableToggleKerberos}}
|
|
|
- <a class="btn btn-padding btn-success admin-enable-security-btn" {{action checkAndStartKerberosWizard target="controller"}}>{{t admin.kerberos.button.enable}} </a>
|
|
|
- <br/>
|
|
|
- {{/if}}
|
|
|
+ <a class="btn btn-padding btn-success admin-enable-security-btn" {{action checkAndStartKerberosWizard target="controller"}}>{{t admin.kerberos.button.enable}} </a>
|
|
|
+ <br/>
|
|
|
{{/isAuthorized}}
|
|
|
</p>
|
|
|
</div>
|