For me this a case of analytical privileges. This will filter data on the view basing on the user.
Or you can also extend the tables with additional field "user_group" and select queries on both tables will filter based on this field irrespective of schema.
Just an after thought whats wrong in writing individual select statements in the if else logic?