summaryrefslogtreecommitdiff
path: root/openstack_dashboard
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-03-25 04:26:09 +0000
committerGerrit Code Review <review@openstack.org>2022-03-25 04:26:09 +0000
commit034b79a1db54053bc2f6e0268f36076b1aca3d96 (patch)
treecc97dbacdf0245e61baecd449207c5305d89261c /openstack_dashboard
parent4f4e8800904dc98a696c5aebe3ffcc947e2deabc (diff)
parentdb40c8ceb6c403bc94ac839f65c00805a5e4ff66 (diff)
downloadhorizon-034b79a1db54053bc2f6e0268f36076b1aca3d96.tar.gz
Merge "Change to a proper policy for Resume operation" into stable/xena
Diffstat (limited to 'openstack_dashboard')
-rw-r--r--openstack_dashboard/dashboards/project/instances/tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/project/instances/tables.py b/openstack_dashboard/dashboards/project/instances/tables.py
index 624a59597..53e8b4b23 100644
--- a/openstack_dashboard/dashboards/project/instances/tables.py
+++ b/openstack_dashboard/dashboards/project/instances/tables.py
@@ -326,7 +326,7 @@ class ToggleSuspend(tables.BatchAction):
if self.suspended:
self.current_present_action = RESUME
policy_rules = (
- ("compute", "os_compute_api:os-rescue"),)
+ ("compute", "os_compute_api:os-suspend-server:resume"),)
else:
self.current_present_action = SUSPEND
policy_rules = (