diff options
Diffstat (limited to 'src/views/_sila/Operations/KeyClear')
-rw-r--r-- | src/views/_sila/Operations/KeyClear/KeyClear.vue | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/views/_sila/Operations/KeyClear/KeyClear.vue b/src/views/_sila/Operations/KeyClear/KeyClear.vue index 8955f6cd..b49118d1 100644 --- a/src/views/_sila/Operations/KeyClear/KeyClear.vue +++ b/src/views/_sila/Operations/KeyClear/KeyClear.vue @@ -23,19 +23,31 @@ v-model="keyOption" stacked > - <b-form-radio class="mb-1" value="NONE"> + <b-form-radio + class="mb-1" + value="NONE" + :disabled="$store.getters['authentication/role'] === 'ReadOnly'" + > {{ $t('pageKeyClear.form.none') }} </b-form-radio> <b-form-text id="key-clear-not-requested" class="ml-4 mb-3"> {{ $t('pageKeyClear.form.keyClearNotRequested') }} </b-form-text> - <b-form-radio class="mb-1" value="ALL"> + <b-form-radio + class="mb-1" + value="ALL" + :disabled="$store.getters['authentication/role'] === 'ReadOnly'" + > {{ $t('pageKeyClear.form.clearAllLabel') }} </b-form-radio> <b-form-text id="clear-all" class="ml-4 mb-3"> {{ $t('pageKeyClear.form.clearAllHeperText') }} </b-form-text> - <b-form-radio class="mb-1" value="POWERVM_SYSKEY"> + <b-form-radio + class="mb-1" + value="POWERVM_SYSKEY" + :disabled="$store.getters['authentication/role'] === 'ReadOnly'" + > {{ $t('pageKeyClear.form.clearHypervisorSystemKeyLabel') }} </b-form-radio> <b-form-text id="clear-hypervisor-key" class="ml-4 mb-3"> |