Thx for the replies.
If I went down the route of using the Permissions table itself as the join/bridge table, and then wanted to extend my little app to include say a 'to do' list would the following be good/valid?
Table: User
Fields: userID, userName, ...
Table: Diary
Fields: objID, diaryLabel, ...
Table: ToDo
Fields: objID, listLabel, ...
Table: Permissions
Fields: permID, objID, userID, permType, ...
So:
User to Permissions is a one-to-many
Diary to Permissions is a one-to-many
ToDo to Permissions is a one-to-many
I wanted to have a single 'permissions' table but doesn't this way run the risk of a User joining a Diary that had the same objID as a 'to do' list they already had 'permissions' on, which would cause data anomilies?? (correct phrase?)
The other way would be to have a separate 'Permissions' join/bridge table between the User and each type of component/object (Diary, To do list, URL Manager etc.) but to have a Users permissions scattered all over the schema seems wrong for some reason!?
apparently confused by basic set theory
Many thanks for any help 🙂