def allow_all(*args, **kwargs):
    """Return dummy permission that always allow an access.

    :returns: A object instance with a ``can()`` method.
    """
    return type('AllowAll', (), {'can': lambda self: True})()
