diff options
author | Matt Riedemann <mriedem.os@gmail.com> | 2019-05-07 10:47:04 -0400 |
---|---|---|
committer | Matt Riedemann <mriedem.os@gmail.com> | 2019-05-07 10:47:04 -0400 |
commit | 57646dfe7797a286d88918563d5bf9a6d1a7307a (patch) | |
tree | c52263506234e612f7da5a74820a6c78c1b352df /api-ref/source/servers.inc | |
parent | ec51f9311cf5de740bd624065684a0bda93c6f2c (diff) | |
download | nova-57646dfe7797a286d88918563d5bf9a6d1a7307a.tar.gz |
api-ref: fix mention of all_tenants filter for non-admins
The API reference for listing servers says that the all_tenants
filter parameter is available for non-admins which is likely
a mistake because of it being in the _get_server_search_options
method, but all_tenants is admin-only by default policy because
of the os_compute_api:servers:index:get_all_tenants and
os_compute_api:servers:detail:get_all_tenants policy rules.
This change fixes the API reference to remove all_tenants from
the list of non-admin filter parameters and also adds a note to
the _get_server_search_options method to avoid future confusion.
Change-Id: I0e937afbdf8e19d2efd626047913d4c8a9b88b76
Closes-Bug: #1828042
Diffstat (limited to 'api-ref/source/servers.inc')
-rw-r--r-- | api-ref/source/servers.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/api-ref/source/servers.inc b/api-ref/source/servers.inc index f80ad59912..466185af9e 100644 --- a/api-ref/source/servers.inc +++ b/api-ref/source/servers.inc @@ -156,7 +156,6 @@ whitelist will be silently ignored. - For non-admin users, whitelist is different from admin users whitelist. Valid whitelist for non-admin users includes - - ``all_tenants`` - ``changes-since`` - ``flavor`` - ``image`` |