@classmethod
def get_by_role_id(cls, role_id=100):
    """Given a `role_id`, return the corresponding `Role` instance."""
    for code, role in cls.roles.items():
        if code == role_id:
            return role
    raise IndexError(f'Unknown role id: {role_id}')
