Browse Source

Mise à jour compatibilité 5.0.2 pour la vue groupadmin

ref #17017 @20m
Philippe Caseiro 2 years ago
parent
commit
839d8a1421
1 changed files with 47 additions and 8 deletions
  1. 47
    8
      tmpl/groupadmin.yaml

+ 47
- 8
tmpl/groupadmin.yaml View File

@@ -44,6 +44,11 @@ features:
44 44
     # Allows to change the security groups for each network interface
45 45
     # on the VM creation dialog
46 46
     secgroups: true
47
+
48
+    # True to hide the CPU setting in the VM creation dialog. The CPU setting
49
+    # will be set to the same value as VCPU, that will still be visible for the
50
+    # end users
51
+    instantiate_hide_cpu: false
47 52
 tabs:
48 53
     dashboard-tab:
49 54
         # The following widgets can be used inside any of the '_per_row' settings
@@ -86,16 +91,19 @@ tabs:
86 91
             - 2         # Name
87 92
             #- 3         # Group
88 93
             #- 4         # Auth driver
89
-            - 5         # VMs
90
-            - 6         # Memory
91
-            - 7         # CPU
92
-            #- 8         # Group ID
93
-            #- 9         # Hidden User Data
94
-            #- 10        # Labels
94
+            #- 5         # Password
95
+            - 6         # VMs
96
+            - 7         # Memory
97
+            - 8         # CPU
98
+            #- 9         # Group ID
99
+            #- 10        # Hidden User Data
100
+            #- 11        # Labels
101
+            #- 12        # Search data
95 102
         actions:
96 103
             User.refresh: true
97 104
             User.create_dialog: true
98 105
             User.update_password: true
106
+            User.login_token: true
99 107
             User.quotas_dialog: true
100 108
             User.groups_dialog: false
101 109
             User.chgrp: false
@@ -119,6 +127,7 @@ tabs:
119 127
             - 5         # Memory
120 128
             - 6         # CPU
121 129
             #- 7         # Labels
130
+            #- 6         # Search data
122 131
         actions:
123 132
             Group.refresh: true
124 133
             Group.create_dialog: false
@@ -143,6 +152,7 @@ tabs:
143 152
             - 6         # VNets
144 153
             - 7         # Datastores
145 154
             #- 8         # Labels
155
+            #- 9         # Search data
146 156
         actions:
147 157
             Vdc.refresh: true
148 158
             Vdc.create_dialog: true
@@ -181,6 +191,7 @@ tabs:
181 191
             - 4         # Name
182 192
             - 5         # Registration time
183 193
             #- 6         # Labels
194
+            #- 7         # Search data
184 195
         actions:
185 196
             Template.refresh: true
186 197
             Template.create_dialog: false
@@ -221,6 +232,7 @@ tabs:
221 232
             - 3         # Group
222 233
             - 4         # Name
223 234
             #- 5        # Labels
235
+            #- 6         # Search data
224 236
         actions:
225 237
             ServiceTemplate.refresh: true
226 238
             ServiceTemplate.create_dialog: false
@@ -247,10 +259,12 @@ tabs:
247 259
             - 4         # Name
248 260
             - 5         # Registration time
249 261
             #- 6         # Labels
262
+            #- 7         # Search data
250 263
         actions:
251 264
             VirtualRouterTemplate.refresh: true
252 265
             VirtualRouterTemplate.create_dialog: false
253 266
             VirtualRouterTemplate.update_dialog: false
267
+            VirtualRouterTemplate.instantiate_dialog: false
254 268
             VirtualRouterTemplate.rename: true
255 269
             VirtualRouterTemplate.chown: true
256 270
             VirtualRouterTemplate.chgrp: false
@@ -302,6 +316,7 @@ tabs:
302 316
             - 11      # VNC
303 317
             #- 12      # Hidden Template
304 318
             #- 13      # Labels
319
+            #- 14         # Search data
305 320
         actions:
306 321
             VM.refresh: true
307 322
             VM.create_dialog: true
@@ -344,7 +359,7 @@ tabs:
344 359
             VM.updateconf: false
345 360
             VM.edit_labels: true
346 361
             VM.menu_labels: true
347
-%if %%oneflow
362
+%if oneflow
348 363
     oneflow-services-tab:
349 364
         panel_tabs:
350 365
             service_info_tab: true
@@ -390,8 +405,10 @@ tabs:
390 405
             - 4         # Name
391 406
             - 5         # State
392 407
             #- 6        # Labels
408
+            #- 7         # Search data
393 409
         actions:
394 410
             Service.refresh: true
411
+            Service.create_dialog: true
395 412
             Service.chown: true
396 413
             Service.chgrp: false
397 414
             Service.chmod: false
@@ -451,6 +468,7 @@ tabs:
451 468
             #- 11        # VM MAD
452 469
             #- 12        # Last monitored on
453 470
             #- 13        # Labels
471
+            #- 14         # Search data
454 472
         actions:
455 473
             Host.refresh: true
456 474
             Host.create_dialog: true
@@ -500,6 +518,7 @@ tabs:
500 518
             - 10        # Type
501 519
             - 11        # Status
502 520
             #- 12        # Labels
521
+            #- 13         # Search data
503 522
         actions:
504 523
             Datastore.refresh: true
505 524
             Datastore.create_dialog: true
@@ -534,6 +553,7 @@ tabs:
534 553
             - 11        # #VMs
535 554
             #- 12       # Target
536 555
             #- 13       # Labels
556
+            #- 14         # Search data
537 557
         actions:
538 558
             Image.refresh: true
539 559
             Image.create_dialog: true
@@ -572,6 +592,7 @@ tabs:
572 592
             #- 11        # #VMs
573 593
             #- 12       # Target
574 594
             #- 13       # Labels
595
+            #- 14         # Search data
575 596
         actions:
576 597
             File.refresh: true
577 598
             File.create_dialog: true
@@ -599,6 +620,7 @@ tabs:
599 620
             - 7         # Driver
600 621
             - 8         # Zone
601 622
             #- 9        # Labels
623
+            #- 10         # Search data
602 624
         actions:
603 625
             MarketPlace.refresh: true
604 626
             MarketPlace.create_dialog: true
@@ -628,6 +650,7 @@ tabs:
628 650
             - 10        # Marketplace
629 651
             - 11         # Zone
630 652
             #- 12        # Labels
653
+            #- 13         # Search data
631 654
         actions:
632 655
             MarketPlaceApp.refresh: true
633 656
             MarketPlaceApp.create_dialog: true
@@ -665,6 +688,7 @@ tabs:
665 688
             #- 8         # Leases
666 689
             #- 9         # VLAN ID
667 690
             #- 10         # Labels
691
+            #- 11         # Search data
668 692
         actions:
669 693
             Network.refresh: true
670 694
             Network.create_dialog: false
@@ -694,6 +718,8 @@ tabs:
694 718
             - 2         # Owner
695 719
             #- 3         # Group
696 720
             - 4         # Name
721
+            #- 5        # Labels
722
+            #- 6         # Search data
697 723
         actions:
698 724
             VirtualRouter.refresh: true
699 725
             VirtualRouter.create_dialog: true
@@ -724,6 +750,7 @@ tabs:
724 750
             #- 3         # Group
725 751
             - 4         # Name
726 752
             #- 5         # Labels
753
+            #- 6         # Search data
727 754
         actions:
728 755
             SecurityGroup.refresh: true
729 756
             SecurityGroup.create_dialog: false
@@ -752,9 +779,21 @@ tabs:
752 779
     settings-tab:
753 780
         panel_tabs:
754 781
             user_info_tab: true
782
+            user_config_tab: false
755 783
             user_quotas_tab: true
756 784
             group_quotas_tab: true
757 785
             user_accounting_tab: true
758 786
             user_showback_tab: true
759 787
         actions:
760
-            User.quotas_dialog: false
788
+            # The buttons inside the settings-tab panel user_info_tab are
789
+            # configured with users-tab/actions; User.update_password and
790
+            # User.login_token
791
+            #
792
+            # Buttons for user_config_tab
793
+            Settings.change_language: true
794
+            Settings.change_password: true
795
+            Settings.change_view: true
796
+            Settings.ssh_key: true
797
+            Settings.login_token: true
798
+            # Edit button in user_quotas_tab
799
+            User.quotas_dialog: false