Skip to content

Commit

Permalink
Merge pull request #17840 from skovic/add-physical-infra-group
Browse files Browse the repository at this point in the history
Create a physical infrastructure user group
  • Loading branch information
gtanzillo authored Aug 24, 2018
2 parents e315a78 + a3ecd11 commit 51dd6af
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/fixtures/miq_user_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1252,3 +1252,8 @@
- sui_services_view
- sui_orders_view
- sui_notifications

- :name: EvmRole-physical_infrastructure
:read_only: true
:miq_product_feature_identifiers:
- everything
1 change: 1 addition & 0 deletions db/fixtures/role_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ EvmGroup-consumption_administrator: consumption_administrator
EvmGroup-container_administrator: container_administrator
EvmGroup-container_operator: container_operator
EvmGroup-reader: reader
EvmGroup-physical_infrastructure: physical_infrastructure
13 changes: 13 additions & 0 deletions product/dashboard/dashboards/physical_infrastructure_default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Default for Physical Infrastructure
read_only: t
set_type: MiqWidgetSet
description: Default Dashboard for Physical Infrastructure Group
owner_type: MiqGroup
owner_description: EvmGroup-physical_infrastructure
set_data_by_description:
:col1:
- chart_server_health
:col2:
- chart_server_availability
:col3:
- rss_newest_servers
2 changes: 1 addition & 1 deletion spec/models/miq_user_role_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe MiqUserRole do
before do
@expected_user_role_count = 18
@expected_user_role_count = 19
end

context ".seed" do
Expand Down

0 comments on commit 51dd6af

Please sign in to comment.