Merge "policy docs: Add volume summary under GET_ALL_POLICY entry"

This commit is contained in:
Zuul 2018-06-18 21:56:18 +00:00 committed by Gerrit Code Review
commit 58a10d6097
1 changed files with 5 additions and 1 deletions

View File

@ -65,7 +65,7 @@ volumes_policies = [
policy.DocumentedRuleDefault(
name=GET_ALL_POLICY,
check_str=base.RULE_ADMIN_OR_OWNER,
description="List volumes.",
description="List volumes or get summary of volumes.",
operations=[
{
'method': 'GET',
@ -74,6 +74,10 @@ volumes_policies = [
{
'method': 'GET',
'path': '/volumes/detail'
},
{
'method': 'GET',
'path': '/volumes/summary'
}
]),
policy.DocumentedRuleDefault(