Skip to content

Commit e85caa1

Browse files
committed
Changed Feature Name from native to management_console
1 parent 99e205c commit e85caa1

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

app/models/vm_or_template.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ class VmOrTemplate < ApplicationRecord
209209
scope :from_cloud_managers, -> { where(:ext_management_system => ManageIQ::Providers::CloudManager.all) }
210210
scope :from_infra_managers, -> { where(:ext_management_system => ManageIQ::Providers::InfraManager.all) }
211211

212+
supports_not :management_console
213+
212214
def from_cloud_manager?
213215
ext_management_system&.kind_of?(ManageIQ::Providers::CloudManager)
214216
end

db/fixtures/miq_product_features.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5964,6 +5964,10 @@
59645964
:description: Open a VMRC console for VMs
59655965
:feature_type: control
59665966
:identifier: vm_vmrc_console
5967+
- :name: Management Console
5968+
:description: Open the Management Console for VMs
5969+
:feature_type: control
5970+
:identifier: vm_management_console
59675971
- :name: Native Console
59685972
:description: Open the Native console for VMs
59695973
:feature_type: control

db/fixtures/miq_user_roles.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@
278278
- vm_infra_explorer
279279
- vm_html5_console
280280
- vm_vmrc_console
281+
- vm_management_console
281282
- vm_native_console
282283
- vm_perf
283284
- vm_policy_sim

0 commit comments

Comments
 (0)