Dynamic Page Permissions Question

Ah, okay, thanks, I was hoping I’d missed something simpler in my set up.

Any pointers on how to create the code I would need for this to work?