Skip to content
Snippets Groups Projects
Commit f4cf52cd authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #3271157 by yas: Fix the permissions to display a monitor tab in the...

Issue #3271157 by yas: Fix the permissions to display a monitor tab in the detailed view of AWS Cloud instance
parent d48bf404
Branches
Tags
5 merge requests!1759Issue #3356778: Release 5.1.1,!1679Issue #3349074: Fix the OpenStack Project create and edit form in SPA that "Member" cannot be saved due to a validation error,!1607Issue #3343582: Add the function to preview OpenStack stack in the SPA,!1032Issue #3284576: Release 5.0.0-alpha2,!832Issue #3274116: Refactor composer.json to use docomoinnovations/drupal-extension
......@@ -371,7 +371,7 @@ entity.aws_cloud_instance.monitor_form:
# Desired permission is passed as an option in the "perm" variable
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
options:
perm: 'view any aws cloud instance'
perm: 'view any aws cloud instance+view own aws cloud instance'
entity.aws_cloud_instance.metrics:
path: '/clouds/aws_cloud/{cloud_context}/instance/{aws_cloud_instance}/metrics'
......@@ -382,7 +382,7 @@ entity.aws_cloud_instance.metrics:
# Desired permission is passed as an option in the "perm" variable
_custom_access: '\Drupal\cloud\Controller\CloudConfigController::access'
options:
perm: 'view any aws cloud instance'
perm: 'view any aws cloud instance+view own aws cloud instance'
entity.aws_cloud_instance.console_output_form:
path: '/clouds/aws_cloud/{cloud_context}/instance/{aws_cloud_instance}/console_output'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment