Row Level Security for Enterprise edition

this thread might help.

based on principle of Access-control list - Wikipedia