api-ref: note that force detach is admin-only by default

I had to dig into the code to figure out that the force
detach volume action was for admins by default. We should
make that clear in the API reference.

Change-Id: I3493e23dba8267fb7e403d30dd0d1e90c8f7726b
This commit is contained in:
Matt Riedemann 2018-02-15 09:21:04 -05:00
parent 4f778ee01e
commit d9a32fd7bf
2 changed files with 10 additions and 0 deletions

View File

@ -304,6 +304,11 @@ Forces a volume to detach. Specify the ``os-force_detach`` action in the request
Rolls back an unsuccessful detach operation after you disconnect
the volume.
Policy defaults enable only users with the administrative role to
perform this operation. Cloud providers can change these permissions
through the ``volume_extension:volume_admin_actions:force_detach`` rule in
the ``policy.json`` file.
Normal response codes: 202

View File

@ -338,6 +338,11 @@ Forces a volume to detach. Specify the ``os-force_detach`` action in the request
Rolls back an unsuccessful detach operation after you disconnect
the volume.
Policy defaults enable only users with the administrative role to
perform this operation. Cloud providers can change these permissions
through the ``volume_extension:volume_admin_actions:force_detach`` rule in
the ``policy.json`` file.
Normal response codes: 202