Loading modules/cloud_service_providers/openstack/config/install/views.view.openstack_quota.yml 0 → 100644 +1404 −0 File added.Preview size limit exceeded, changes collapsed. Show changes modules/cloud_service_providers/openstack/openstack.install +12 −0 Original line number Diff line number Diff line Loading @@ -1687,3 +1687,15 @@ function openstack_update_8275() { function openstack_update_8276() { openstack_add_entity_type('openstack_quota'); } /** * Add openstack_quota view. */ function openstack_update_8277() { $files = [ 'views.view.openstack_quota.yml', ]; \Drupal::service('cloud')->updateYmlDefinitions($files, 'openstack'); drupal_flush_all_caches(); } modules/cloud_service_providers/openstack/openstack.links.action.yml +29 −0 Original line number Diff line number Diff line Loading @@ -586,3 +586,32 @@ entity.openstack_router.add_interface: title: 'Add interface' appears_on: - view.openstack_port.router_interface ############################## # OpenStack Quota. ############################## entity.openstack_quota.collection: route_name: view.openstack_quota.list title: 'List OpenStack quotas' appears_on: - entity.openstack_quota.edit_form - entity.openstack_quota.canonical entity.openstack_quota.refresh: route_name: entity.openstack_quota.list_update title: 'Refresh' appears_on: - view.openstack_quota.list entity.openstack_all_quota.refresh: route_name: entity.openstack_quota.list_update.all title: 'Refresh' appears_on: - view.openstack_quota.all entity.openstack_quota.edit: route_name: entity.openstack_quota.edit_form title: 'Edit' appears_on: - entity.openstack_quota.canonical modules/cloud_service_providers/openstack/openstack.links.task.yml +12 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,18 @@ openstack.local_tasks.router.all: base_route: 'openstack.local_tasks.all_resources' weight: 100 openstack.local_tasks.quota: title: 'Quotas' route_name: 'view.openstack_quota.list' base_route: 'openstack.local_tasks.cloud_context' weight: 100 openstack.local_tasks.quota.all: title: 'Quotas' route_name: 'view.openstack_quota.all' base_route: 'openstack.local_tasks.all_resources' weight: 100 # OpenStack Instance routing definition openstack_instance.settings_tab: route_name: openstack_instance.settings Loading modules/cloud_service_providers/openstack/openstack.permissions.yml +0 −9 Original line number Diff line number Diff line Loading @@ -381,9 +381,6 @@ delete own openstack router: #################### # Quotas #################### add openstack quota: title: 'Add OpenStack quota' description: 'Allow users to add quota.' list openstack quota: title: 'List OpenStack quota' description: 'Allow users to list quota.' Loading @@ -393,15 +390,9 @@ view any openstack quota: edit any openstack quota: title: 'Edit any OpenStack quota' description: 'Allow users to edit any quota.' delete any openstack quota: title: 'Delete any OpenStack quota' description: 'Allow users to delete any quota.' view own openstack quota: title: 'View own OpenStack quota' description: 'Allow users to view own quota.' edit own openstack quota: title: 'Edit own OpenStack quota' description: 'Allow users to edit own quota.' delete own openstack quota: title: 'Delete own OpenStack quota' description: 'Allow users to delete own quota.' Loading
modules/cloud_service_providers/openstack/config/install/views.view.openstack_quota.yml 0 → 100644 +1404 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
modules/cloud_service_providers/openstack/openstack.install +12 −0 Original line number Diff line number Diff line Loading @@ -1687,3 +1687,15 @@ function openstack_update_8275() { function openstack_update_8276() { openstack_add_entity_type('openstack_quota'); } /** * Add openstack_quota view. */ function openstack_update_8277() { $files = [ 'views.view.openstack_quota.yml', ]; \Drupal::service('cloud')->updateYmlDefinitions($files, 'openstack'); drupal_flush_all_caches(); }
modules/cloud_service_providers/openstack/openstack.links.action.yml +29 −0 Original line number Diff line number Diff line Loading @@ -586,3 +586,32 @@ entity.openstack_router.add_interface: title: 'Add interface' appears_on: - view.openstack_port.router_interface ############################## # OpenStack Quota. ############################## entity.openstack_quota.collection: route_name: view.openstack_quota.list title: 'List OpenStack quotas' appears_on: - entity.openstack_quota.edit_form - entity.openstack_quota.canonical entity.openstack_quota.refresh: route_name: entity.openstack_quota.list_update title: 'Refresh' appears_on: - view.openstack_quota.list entity.openstack_all_quota.refresh: route_name: entity.openstack_quota.list_update.all title: 'Refresh' appears_on: - view.openstack_quota.all entity.openstack_quota.edit: route_name: entity.openstack_quota.edit_form title: 'Edit' appears_on: - entity.openstack_quota.canonical
modules/cloud_service_providers/openstack/openstack.links.task.yml +12 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,18 @@ openstack.local_tasks.router.all: base_route: 'openstack.local_tasks.all_resources' weight: 100 openstack.local_tasks.quota: title: 'Quotas' route_name: 'view.openstack_quota.list' base_route: 'openstack.local_tasks.cloud_context' weight: 100 openstack.local_tasks.quota.all: title: 'Quotas' route_name: 'view.openstack_quota.all' base_route: 'openstack.local_tasks.all_resources' weight: 100 # OpenStack Instance routing definition openstack_instance.settings_tab: route_name: openstack_instance.settings Loading
modules/cloud_service_providers/openstack/openstack.permissions.yml +0 −9 Original line number Diff line number Diff line Loading @@ -381,9 +381,6 @@ delete own openstack router: #################### # Quotas #################### add openstack quota: title: 'Add OpenStack quota' description: 'Allow users to add quota.' list openstack quota: title: 'List OpenStack quota' description: 'Allow users to list quota.' Loading @@ -393,15 +390,9 @@ view any openstack quota: edit any openstack quota: title: 'Edit any OpenStack quota' description: 'Allow users to edit any quota.' delete any openstack quota: title: 'Delete any OpenStack quota' description: 'Allow users to delete any quota.' view own openstack quota: title: 'View own OpenStack quota' description: 'Allow users to view own quota.' edit own openstack quota: title: 'Edit own OpenStack quota' description: 'Allow users to edit own quota.' delete own openstack quota: title: 'Delete own OpenStack quota' description: 'Allow users to delete own quota.'