Update policy description for 'instance_actions'
Currently, the instance_actions policy documentation implies
that the "events" attribute is always included for the "show"
API action if policy enforcement succeeds. However, this is not
the case: beginning with microversion 2.51, the events attribute
is always included. However, traceback information is not returned
unless policy enforcement passes, regardless of microversion.
Change-Id: Ie2a23f88f7f5ecc2a4837cd2c69ed0559220e58b
Resource: a21aafc5d4/nova/api/openstack/compute/instance_actions.py (L98)
This commit is contained in:
@@ -29,7 +29,9 @@ instance_actions_policies = [
|
||||
"""Add events details in action details for a server.
|
||||
|
||||
This check is performed only after the check
|
||||
os_compute_api:os-instance-actions passes""",
|
||||
os_compute_api:os-instance-actions passes. Beginning with
|
||||
Microversion 2.51, events details are always included; traceback
|
||||
information is provided per event if policy enforcement passes.""",
|
||||
[
|
||||
{
|
||||
'method': 'GET',
|
||||
|
||||
Reference in New Issue
Block a user