def default_can_compose_permission(view, request, template_name):
    """
    Default global permission check.
    """
    return request.user and request.user.is_authenticated and (request.user
        .is_staff or request.user.is_superuser)
