I have the following tables in my application.
User (UserID, ......)
Category (CategoryId, ......)
UserCategory (UserId, CategoryId);
Item (ItemId, CategoryId,......)
The "UserCategory" table is used to control access to items. A given user only has access to items that belongs to categories that he has access to. I need to sync this data to a iPad app (its one way sync and no data is modified on the iPad). I use a filter
to make sure that only relevant categories and items are sent to the client app. The problem is if later we assign an existing category to a user the items belonging to the category are not synced.
Thanks,
Chamindu.