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:
Felipe Monteiro
2017-07-19 03:54:09 +01:00
parent a21aafc5d4
commit 3c7f051b5d

View File

@@ -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',