I tried something like this in a mock cms application. Depending on the logged in user I set the view in a conditional in the controller or in the function.
if auth.has_membership(group_id=user_x):
response.view='user_x_view.html'
if auth.has_membership(group_id=user_y):
response.view='user_y_view.html'
There may be more sophisticated solutions but this worked for me.
Regards,
Annet.

