def METHOD_NAME(role):
    """Generate the set of notification channels that the current
    user should listen to."""
    key = cache.object_key(Role, role.id, "channels")
    channels = cache.get_list(key)
    if len(channels):
        return channels
    channels = [GLOBAL]
    if role.is_actor:
        authz = Authz.from_role(role)
        for role_id in authz.roles:
            channels.append(channel_tag(role_id, Role))
        for coll_id in authz.collections(authz.READ):
            channels.append(channel_tag(coll_id, Collection))
        cache.set_list(key, channels)
    return channels