Skip to content
Snippets Groups Projects

Fix an issue of OpenStack stack in SPA forms (Attach/Detach interface to OpenStack interface) (drupal/cloud_dashboard)

Merged Ryo Yamashita requested to merge issue/cloud-3418510:3418510-fix-attach-detach into 6.x
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -639,7 +639,7 @@ entity.openstack_instance.attach_network:
@@ -639,7 +639,7 @@ entity.openstack_instance.attach_network:
# Desired permission is passed as an option in the "perm" variable
# Desired permission is passed as an option in the "perm" variable
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
options:
options:
perm: 'attach network interface openstack instance'
perm: 'edit any openstack instance+edit own openstack instance'
entity.openstack_instance.detach_network:
entity.openstack_instance.detach_network:
path: '/cloud_dashboard/openstack/{cloud_context}/openstack_instance/{entity_id}/detach_network'
path: '/cloud_dashboard/openstack/{cloud_context}/openstack_instance/{entity_id}/detach_network'
@@ -653,7 +653,7 @@ entity.openstack_instance.detach_network:
@@ -653,7 +653,7 @@ entity.openstack_instance.detach_network:
# Desired permission is passed as an option in the "perm" variable
# Desired permission is passed as an option in the "perm" variable
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
options:
options:
perm: 'detach network interface openstack instance'
perm: 'edit any openstack instance+edit own openstack instance'
entity.openstack_instance.attached_ports:
entity.openstack_instance.attached_ports:
path: '/cloud_dashboard/openstack/{cloud_context}/openstack_instance/{entity_id}/attached_ports'
path: '/cloud_dashboard/openstack/{cloud_context}/openstack_instance/{entity_id}/attached_ports'
@@ -664,7 +664,7 @@ entity.openstack_instance.attached_ports:
@@ -664,7 +664,7 @@ entity.openstack_instance.attached_ports:
# Desired permission is passed as an option in the "perm" variable
# Desired permission is passed as an option in the "perm" variable
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
options:
options:
perm: 'detach network interface openstack instance'
perm: 'edit any openstack instance+edit own openstack instance'
entity.openstack_instance.attach_ports:
entity.openstack_instance.attach_ports:
path: '/cloud_dashboard/openstack/{cloud_context}/attach_ports'
path: '/cloud_dashboard/openstack/{cloud_context}/attach_ports'
Loading