Maybe I haven't had enough coffee yet, but......
1) I have a table of documents with creation dates.
2) I have a table of users with unique IDs
I need to grant access to multiple date ranges to users.
So, user 1 may have access to docs created between 9/6-9/10 and 9/20-9/24.
User 2 may have access to docs created between 9/13-9/17.
I'm trying to figure out the best way to represent this in the database so that I can easily determine all the docs that any given user has access to regardless of how many date ranges they may have.
Any suggestions?
thanks!!
1) I have a table of documents with creation dates.
2) I have a table of users with unique IDs
I need to grant access to multiple date ranges to users.
So, user 1 may have access to docs created between 9/6-9/10 and 9/20-9/24.
User 2 may have access to docs created between 9/13-9/17.
I'm trying to figure out the best way to represent this in the database so that I can easily determine all the docs that any given user has access to regardless of how many date ranges they may have.
Any suggestions?
thanks!!