mirror of https://github.com/rancher/ui.git
Hide the lock/unlock option for global roles
https://github.com/rancher/rancher/issues/14807
This commit is contained in:
parent
9e37de25c1
commit
7c1c511842
|
|
@ -27,6 +27,7 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="row">
|
||||
{{#unless (eq roleType 'global')}}
|
||||
<div class="col span-6">
|
||||
<label class="acc-label">{{t 'rolesPage.new.form.locked.labelText' }}</label>
|
||||
{{#if readOnly}}
|
||||
|
|
@ -49,6 +50,7 @@
|
|||
<p class="help-block">{{t 'rolesPage.new.form.locked.detail'}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
<div class="col span-6">
|
||||
<label class="acc-label">{{t (concat 'rolesPage.new.form.default.' roleType) }}</label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue