Session-based invite codes for users without sign-in

Ahah! You are right, the destination tab was only visible for logged in users which specified a valid invite code, because that’s the only way I could get it working previously.

However, I’m trying to change it to depend on whether the single visible row in the Guests table has a valid invite code, but it only lets me create tab visibility conditions based on the User Profile, which is of course blank because the guest isn’t signed in:

Why won’t it let me set a condition based on the data in the table which is the data source for the tab?

The invite codes column is currently a computed value. Sniffing the network traffic in the browser console, I see the non-computed values included in one of the responses, but I don’t see computed values. Are these values computed server-side or client-side, and similarly where is the matching of relation fields done? If both are done server-side, maybe I could generate invite codes from, say, the rowId and a secret key which is only accessible server-side?

Right :frowning:

That’s an interesting idea. But if I can’t secure the invite codes properly then it’s already questionable whether this approach is viable.

Thanks a lot for the great help so far!