'Given a list of resources, retrieve the range of settable quotas for
the given user or project.
:param context: The request context, for access checks.
:param resources: A dictionary of the registered resources.
:param project_id: The ID of the project to return quotas for.
:param user_id: The ID of the user to return quotas for.'

def get_settable_quotas(self, context, resources, project_id, user_id=None):

    quotas = {}
    for resource in resources.values():
        quotas[resource.name] = {'minimum': 0, 'maximum': (-1)}
    return quotas
