# Path: freezer_api/common/policies/base.py
# UNPROTECTED = ''
# def list_rules():


from oslo_policy import policy
from freezer_api.common.policies import base
#    under the License.


CLIENTS = 'clients:%s'

rules = [
    policy.DocumentedRuleDefault(
        name=CLIENTS % 'create',
        check_str=base.UNPROTECTED,
        description='Create client entry.',
        operations=[
            {
                'path': '/v1/clients',
                'method': 'POST'
            }
        ]
    ),
    policy.DocumentedRuleDefault(
        name=CLIENTS % 'delete',
        check_str=base.UNPROTECTED,
        description='Delete specified client.',
        operations=[
            {
                'path': '/v1/clients/{client_id}',
                'method': 'DELETE'
            }
        ]
    ),
    policy.DocumentedRuleDefault(
        name=CLIENTS % 'get',

# Path: freezer_api/common/policies/base.py
# UNPROTECTED = ''
# def list_rules():


# Path: freezer_api/common/policies/client.py
from oslo_policy import policy
from freezer_api.common.policies import base

#    under the License.


CLIENTS = 'clients:%s'

rules = [
    policy.DocumentedRuleDefault(
        name=CLIENTS % 'create',
        check_str=base.UNPROTECTED,
        description='Create client entry.',
        operations=[
            {
                'path': '/v1/clients',
                'method': 'POST'
            }
        ]
    ),
    policy.DocumentedRuleDefault(
        name=CLIENTS % 'delete',
        check_str=base.UNPROTECTED,
        description='Delete specified client.',
        operations=[
            {
                'path': '/v1/clients/{client_id}',
                'method': 'DELETE'
            }
        ]
    ),
    policy.DocumentedRuleDefault(
        name=CLIENTS % 'get',

        check_str=base.UNPROTECTED,