I'm new to salesforce frame work. But I have been very active in web development before. I have done a lot much practice on field level, object level and record level as well. But I can't figure out what how to cope with this scenario.
I have an object hotel (plural hotels) and I have look up field that refers to the manager "related to user". So the manager is the user that I created. "allan" and "steve" are the mangers of the hotels "hotel-abc" and "hotel-xyz" respectively. When either of them logs in they can see the records of both hotels.
But what I want is when allan logs in he should see the "hotel-abc" record and vice versa. I know field lever and object lever security are not applicable here but record lever is also not working for me. As it is so specific to some hard code condition!
Thanks in advance.