From 7c8b1146a93bb822e0ccb9704837053d3d01ee55 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Tue, 16 Jul 2013 11:52:59 +0200 Subject: [PATCH] Add images tab to cloud view (cherry picked from commit 82388a069677fcfdf90316d9df7bc9e88e322841) --- src/sunstone/etc/sunstone-views.yaml | 4 +--- src/sunstone/etc/sunstone-views/cloud.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/sunstone/etc/sunstone-views.yaml b/src/sunstone/etc/sunstone-views.yaml index a836c3ba3e..7269f3bdba 100644 --- a/src/sunstone/etc/sunstone-views.yaml +++ b/src/sunstone/etc/sunstone-views.yaml @@ -20,13 +20,11 @@ available_tabs: - oneflow-dashboard - oneflow-services - oneflow-templates -users: - cloud: - - cloud groups: oneadmin: - admin - vdcadmin - user + - cloud default: - user \ No newline at end of file diff --git a/src/sunstone/etc/sunstone-views/cloud.yaml b/src/sunstone/etc/sunstone-views/cloud.yaml index 94141bd140..e726cfe8eb 100644 --- a/src/sunstone/etc/sunstone-views/cloud.yaml +++ b/src/sunstone/etc/sunstone-views/cloud.yaml @@ -8,7 +8,7 @@ enabled_tabs: vresources-tab: false vms-tab: true templates-tab: false - images-tab: false + images-tab: true files-tab: false infra-tab: false clusters-tab: false @@ -202,15 +202,15 @@ tabs: #- 12 # Target actions: Image.refresh: true - Image.create_dialog: true + Image.create_dialog: false Image.chown: false Image.chgrp: false - Image.chmod: true - Image.enable: true - Image.disable: true + Image.chmod: false + Image.enable: false + Image.disable: false Image.persistent: true Image.nonpersistent: true - Image.clone_dialog: true + Image.clone_dialog: false Image.delete: true files-tab: panel_tabs: