feathers-hooks-common
feathers-hooks-common copied to clipboard
Authorization with SetFields on many to many relationships tables
trafficstars
Hello,
Thanks for the awesome library. SetField works well to handle authorizations when current userID is in the table.
Let's say I have a many to many relation such as :
- User has Many Contacts
- Contacts have many Users
- I therefore have a user-contact table
What would be the feathers way to handle authorization on the Contact Table ? Could you implement it with setFields ?
Thanks a lot for your help,