[TRIVIAL] Add comment about policy override for images>launch button
For some reason the policy rule name changes as it is processed and becomes non-obvious what to set in the override file to alter the policy for the images>launch button. Change-Id: I1e843784a53801da98a9d384be0190fbb5bdfee2
This commit is contained in:
parent
590632cf5c
commit
3c0557d698
@ -36,6 +36,9 @@ class LaunchImage(tables.LinkAction):
|
||||
url = "horizon:project:instances:launch"
|
||||
classes = ("ajax-modal", "btn-launch")
|
||||
icon = "cloud-upload"
|
||||
# NOTE(ganso): This policy rule below gets renamed to "compute:create"
|
||||
# and needs to be added to the nova override file
|
||||
# as "compute:create: <rule/role>".
|
||||
policy_rules = (("compute", "os_compute_api:servers:create"),)
|
||||
|
||||
def get_link_url(self, datum):
|
||||
|
Loading…
Reference in New Issue
Block a user