From 8d9a8ed9653e89a30779b5d36efc13febc537672 Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Wed, 15 Jun 2022 18:52:12 +0200 Subject: [PATCH] M #~: Add marketplace app tab file to users (#2155) --- install.sh | 7 +- .../sunstone/admin/marketplace-app-tab.yaml | 1 + .../sunstone/user/marketplace-app-tab.yaml | 76 +++++++++++++++++++ 3 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 src/fireedge/etc/sunstone/user/marketplace-app-tab.yaml diff --git a/install.sh b/install.sh index e4df647456..ae6da93af1 100755 --- a/install.sh +++ b/install.sh @@ -2899,12 +2899,13 @@ FIREEDGE_SUNSTONE_ETC="src/fireedge/etc/sunstone/sunstone-server.conf \ src/fireedge/etc/sunstone/sunstone-views.yaml" FIREEDGE_SUNSTONE_ETC_VIEW_ADMIN="src/fireedge/etc/sunstone/admin/vm-tab.yaml \ + src/fireedge/etc/sunstone/admin/vm-template-tab.yaml \ src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml \ - src/fireedge/etc/sunstone/admin/host-tab.yaml \ - src/fireedge/etc/sunstone/admin/vm-template-tab.yaml" + src/fireedge/etc/sunstone/admin/host-tab.yaml" FIREEDGE_SUNSTONE_ETC_VIEW_USER="src/fireedge/etc/sunstone/user/vm-tab.yaml \ - src/fireedge/etc/sunstone/user/vm-template-tab.yaml" + src/fireedge/etc/sunstone/user/vm-template-tab.yaml \ + src/fireedge/etc/sunstone/user/marketplace-app-tab.yaml" #----------------------------------------------------------------------------- # OneGate files diff --git a/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml b/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml index 28606ecede..38ff64cfea 100644 --- a/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml +++ b/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml @@ -32,6 +32,7 @@ actions: enable: true disable: true delete: true + edit_labels: true # Filters - List of criteria to filter the resources diff --git a/src/fireedge/etc/sunstone/user/marketplace-app-tab.yaml b/src/fireedge/etc/sunstone/user/marketplace-app-tab.yaml new file mode 100644 index 0000000000..38ff64cfea --- /dev/null +++ b/src/fireedge/etc/sunstone/user/marketplace-app-tab.yaml @@ -0,0 +1,76 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2022, OpenNebula Project, OpenNebula Systems # +# # +# Licensed 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. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the App tab + +# Resource + +resource_name: "MARKETPLACE-APP" + +# Actions - Which buttons are visible to operate over the resources + +actions: + create_dialog: true + export: true + download: true + chown: true + chgrp: true + enable: true + disable: true + delete: true + edit_labels: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + owner: true + group: true + state: true + type: true + marketplace: true + zone: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + permissions_panel: + enabled: true + actions: + chmod: true + ownership_panel: + enabled: true + actions: + chown: true + chgrp: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + template: + enabled: true