def get_user_role(identifier=None):
    """Return a list of roles that ``identifier`` has. If ``identifier``
        is None, return a list of roles for currently authenticated
        user.
        """
