"""This module holds the context processors for the ``licences`` app."""

from .utils import current_licence_flags


def licence_flags(request):  # pylint: disable=unused-argument
    """Context processor to add the licence flags to the context

    Parameters
    ----------
    request : HttpRequest
        The request

    Returns
    -------
    dict
        The dictionary to add in global context.
    """

    return {'licence_flags': current_licence_flags()}
