Skip to content

Commit

Permalink
Include EvmRole-reader as read-only role in the fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
rsevilla87 committed Jul 26, 2017
1 parent b4554f7 commit 9292c18
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 1 deletion.
107 changes: 107 additions & 0 deletions db/fixtures/miq_user_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1060,3 +1060,110 @@
- instance_view
- vm_view
- ems_container_ad_hoc_metrics


- :name: EvmRole-reader
:read_only: true
:miq_product_feature_identifiers:
- auth_key_pair_cloud_view
- automation_manager_configuration_script_view
- automation_manager_configured_system_view
- automation_manager_providers_view
- availability_zone_view
- bottlenecks
- catalog_items_view
- cloud_network_view
- cloudobject_store_container_view
- cloud_object_store_object_view
- cloud_subnet_view
- cloud_tenant_view
- cloud_topology
- cloud_volume_backup_view
- cloud_volume_snapshot_view
- cloud_volume_view
- configuration_job_view
- configuration_script_view
- configured_systems_filter_accord_view
- container_build_view
- container_dashboard
- container_filter_accord
- container_group_view
- container_image_registry_view
- container_image_view
- container_node_view
- container_project_view
- container_replicator_view
- container_route_view
- container_service_view
- container_template_view
- container_topology
- container_view
- customization_template_view
- dashboard_view
- embedded_automation_manager_credentials_view
- embedded_configuration_script_payload_view
- embedded_configuration_script_source_view
- ems_block_storage_view
- ems_cloud_view
- ems_cluster_view
- ems_container_view
- ems_infra_view
- ems_middleware_view
- ems_network_view
- ems_object_storage_view
- flavor_view
- floating_ip_view
- host_aggregate_view
- host_view
- image_view
- infra_networking_view
- infra_topology
- instance_view
- iso_datastore_view
- load_balancer_view
- middleware_datasource_view
- middleware_deployment_view
- middleware_domain_view
- middleware_messaging_view
- middleware_server_view
- middleware_topology
- miq_ae_class_log
- miq_ae_domain_view
- miq_report_saved_reports_view
- miq_report_schedule_view
- miq_report_view
- miq_request_view
- miq_template_snapshot_view
- miq_template_view
- my_settings
- network_port_view
- network_router_view
- network_topology
- orchestration_stack_view
- orchestration_templates_view
- persistent_volume_view
- planning
- policy_log
- provider_foreman_view
- pxe_image_type_view
- pxe_server_view
- rbac_group_view
- rbac_role_view
- rbac_tenant_view
- rbac_user_view
- redhat_access_insights_overview
- resource_pool_view
- rss
- security_group_view
- service_view
- st_catalog_view
- storage_view
- tasks
- timeline
- utilization
- virtual_template_show
- vm_cloud_explorer
- vm_explorer
- vm_infra_explorer
- vm_snapshot_view
- vm_view
1 change: 1 addition & 0 deletions db/fixtures/role_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
EvmGroup-consumption_administrator: consumption_administrator
EvmGroup-container_administrator: container_administrator
EvmGroup-container_operator: container_operator
EvmGroup-reader: reader
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 = 17
@expected_user_role_count = 18
end

context ".seed" do
Expand Down

0 comments on commit 9292c18

Please sign in to comment.