If I have a Spark app where I would like to have the option for individual or team plans offered at the same time, with the same benefits, would I be able to use just the 'subscribed' middleware for views behind the paywall? Or does the 'teamSubscribed' middleware also have to be used for those users who are accessing the site via a team subscription?
Here's what I have done, and I'm pretty sure that it does what I hope it does. I made a new Middleware to check to see if the user is (a) not on a trial, (b) not subscribed as a user, and (c) not on a team that happens to be subscribed.
This might not be the best way to accomplish this with lots of embedded if statements, but here it is: