I have pages A, B and C. I also have users 1, 2 and 3. I would like for user 1 to only have access to pages A and B, user 2 to only pages B and C, and user 3 to only pages A and C. How can i do that? is there any module available for that? Note that My site will obviously have more than 3 pages and, hopefully, I'll have more than 3 users. As such, I cannot create roles or groups for every page/user access permutations.
I have a custom table having fields user-id and page-id. I need to control the page access based on this relation.