zun/zun/common/policies
Hongbin Lu 2faeffb3d4 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
2018-08-11 20:30:25 +00:00
..
__init__.py Add Quota & Quota class policies 2018-05-14 20:41:02 +07:00
availability_zone.py Introduce /availability-zone API endpoint 2018-05-04 09:50:53 +05:30
base.py Give extended privileges to the container 2018-08-06 11:08:22 +08:00
capsule.py Rename 'tenant' to 'project' in server 2018-01-08 19:55:13 -08:00
container_action.py Add container action api 2018-03-06 04:34:09 +00:00
container.py Give extended privileges to the container 2018-08-06 11:08:22 +08:00
host.py Register default host policies in code 2017-10-10 05:32:05 +00:00
image.py Require admin privilege for image APIs 2018-05-13 16:11:42 +00:00
network.py Add back the attach_external_network policy 2018-06-14 02:52:17 +00:00
quota_class.py Change quota_class policy to admin only 2018-08-11 20:30:25 +00:00
quota.py Remove project_id in path 2018-08-11 14:44:57 +07:00
zun_service.py Update our project definition 2018-02-04 17:56:32 +00:00