'Authorize request against \'manage_image_cache\' policy'

def _enforce(self, req):

    try:
        self.policy.enforce(req.context, 'manage_image_cache', {})
    except exception.Forbidden:
        LOG.debug('User    not    permitted    to    manage    the    image    cache')
        raise webob.exc.HTTPForbidden()
