I have several roles on my site for premium users. I'd like to set up a demo page where people can get a quick snapshot of what a premium user gets access to, without opening the flood gates to everyone.

I'd also like to hide this from premium members, since they already get access, and don't want to be confused by a demo page.

Is there a way to restrict access so that this page shows to anonymous and authenticated users, without giving access to other roles? As soon as I select access for authenticated users, any higher role also gets access as well, since higher roles are really authenticated users with some extra permissions.

Comments

merlinofchaos’s picture

Status: Active » Fixed

There isn't currently a selection rule to limit to people without a particular role. So perhaps there's 2 ways to do it:

1) Provide a 'premium' member role and a 'not premium' member role.

2) Put the demo at the same path as the real stuff, and use variants. Limit one variant to people with the premium role, and then give the second variant to everyone else.

2 isn't completely an ideal solution but it may be enough?

djudd’s picture

merlin, thanks for the thoughts. I considered the first option, but I can't think of a way to handle it without it becoming a logistical nightmare. Automatically placing new users in the non-premium role is easy. Removing them when they become premium is much harder. Demoting them again when they leave premium is where it gets to be too much.

The second option I honestly hand't thought of. I will have to give much more thought on that one to be honest, it seems like a real possibility, but I hadn't gotten too familiar with the variants options yet.

Thanks for the idea, sure gives me something to look into anyway, which is more than I had before.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.