Hey everyone - I'm trying to figure out the liquid for displaying content based on access to a specific zone.

I have a public page where I'm outputting web app items in list view. And those web app items are assigned to 1 of 5 secure zones. If someone has access to zone 1, they should be able to interact with the zone 1 web app items on that particular public page.

When someone goes to the zone 2 public page, but does not have access to that zone. They should be shown a login button. And so on.

Below is the liquid I've had on the site since day one, but is no longer working.

{% if context.exports.is_logged_in.data -%}
output web app items
{% else %}
output login button
{% endif %}

And the below liquid is what I tried changing it to, but isn't working either.

{% include 'secure_zones', secure_zones_string: ['1','2','3','4','5'] -%}
{% if context.exports.access_allowed.value == true -%}
output web app items
{% else %}
output login button
{% endif %}

I'm currently assigned to zones 1 & 2, but can see all 5 zones content. So I'm not sure what changed. I tried reinstalling the secure zone module on the site, but that didn't do anything.

Has anyone else had to update/rewrite liquid for a similar use case?