diff --git a/ui/src/config/section/offering.js b/ui/src/config/section/offering.js
index d3a4c25dd4a..14d29defeda 100644
--- a/ui/src/config/section/offering.js
+++ b/ui/src/config/section/offering.js
@@ -47,6 +47,13 @@ export default {
label: 'Edit Offering',
dataView: true,
args: ['name', 'displaytext']
+ }, {
+ api: 'updateServiceOffering',
+ icon: 'lock',
+ label: 'Update Offering Access',
+ dataView: true,
+ popup: true,
+ component: () => import('@/views/offering/UpdateOfferingAccess.vue')
}, {
api: 'deleteServiceOffering',
icon: 'delete',
@@ -111,6 +118,13 @@ export default {
label: 'Edit Offering',
dataView: true,
args: ['name', 'displaytext']
+ }, {
+ api: 'updateDiskOffering',
+ icon: 'lock',
+ label: 'Update Offering Access',
+ dataView: true,
+ popup: true,
+ component: () => import('@/views/offering/UpdateOfferingAccess.vue')
}, {
api: 'deleteDiskOffering',
icon: 'delete',
@@ -163,6 +177,13 @@ export default {
value: (record) => { return 'Disabled' }
}
}
+ }, {
+ api: 'updateNetworkOffering',
+ icon: 'lock',
+ label: 'Update Offering Access',
+ dataView: true,
+ popup: true,
+ component: () => import('@/views/offering/UpdateOfferingAccess.vue')
}, {
api: 'deleteNetworkOffering',
icon: 'delete',
@@ -221,6 +242,13 @@ export default {
value: (record) => { return 'Disabled' }
}
}
+ }, {
+ api: 'updateVPCOffering',
+ icon: 'lock',
+ label: 'Update Offering Access',
+ dataView: true,
+ popup: true,
+ component: () => import('@/views/offering/UpdateOfferingAccess.vue')
}, {
api: 'deleteVPCOffering',
icon: 'delete',
diff --git a/ui/src/views/offering/UpdateOfferingAccess.vue b/ui/src/views/offering/UpdateOfferingAccess.vue
new file mode 100644
index 00000000000..4f34602b5d2
--- /dev/null
+++ b/ui/src/views/offering/UpdateOfferingAccess.vue
@@ -0,0 +1,294 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+
+
+
+
+
+
+