When a group is restricted to certain users but is "public" users who are not allowed to join the group can still view all the content. For some communities this might be the right behaviour (you can view a group you just can't contribute to the discussion) but for CFCommunity I'd like to do the following:
When a user who does not have the correct member type tries to visit a public restricted group we could do the following
1: Redirect to the group directory and show them an alert "Sorry the group you tried to enter is only viewable for member type"
2: Redirect to a custom page set through a plugin option.
I think option 2 would be a bit more flexible because you have some space to explain the why and how. We'll probably need a few basic plugin options anyway to let people decide on these things.
When a group is restricted to certain users but is "public" users who are not allowed to join the group can still view all the content. For some communities this might be the right behaviour (you can view a group you just can't contribute to the discussion) but for CFCommunity I'd like to do the following:
When a user who does not have the correct member type tries to visit a public restricted group we could do the following
1: Redirect to the group directory and show them an alert "Sorry the group you tried to enter is only viewable for member type"
2: Redirect to a custom page set through a plugin option.
I think option 2 would be a bit more flexible because you have some space to explain the why and how. We'll probably need a few basic plugin options anyway to let people decide on these things.