Change quota_class policy to admin only
This aligns the API behavior to nova, in which the default policy for getting quota_class is: 'is_admin:True or quota_class:%(quota_class)s' Note: the 'quota_class' is unused [1] so this is effectively an admin-only policy. [1] https://lists.launchpad.net/openstack/msg12200.html Change-Id: I5b436086c9594ae217f1a1de021d64e00ac05e38
This commit is contained in:
parent
3d52504f7e
commit
2faeffb3d4
@ -30,7 +30,7 @@ rules = [
|
||||
),
|
||||
policy.DocumentedRuleDefault(
|
||||
name=QUOTA_CLASS % 'get',
|
||||
check_str=base.RULE_ADMIN_OR_OWNER,
|
||||
check_str=base.RULE_ADMIN_API,
|
||||
description='List quotas for specific quota class',
|
||||
operations=[
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user