Skip to content

Commit b8b2163

Browse files
committed
Removed admin role verification
1 parent 517f8a1 commit b8b2163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/config/section/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export default {
223223
label: 'label.change.offering.for.volume',
224224
args: ['id', 'diskofferingid', 'size', 'miniops', 'maxiops', 'automigrate'],
225225
dataView: true,
226-
show: (record, store) => { return ['Allocated', 'Ready'].includes(record.state) && (['Admin'].includes(store.userInfo.roletype) || store.apis.changeOfferingForVolume) },
226+
show: (record, store) => { return ['Allocated', 'Ready'].includes(record.state) && store.apis.changeOfferingForVolume },
227227
popup: true,
228228
component: shallowRef(defineAsyncComponent(() => import('@/views/storage/ChangeOfferingForVolume.vue')))
229229
},

0 commit comments

Comments
 (0)