Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization with SetFields on many to many relationships tables #698

Open
chrisbag opened this issue Aug 17, 2021 · 0 comments
Open

Authorization with SetFields on many to many relationships tables #698

chrisbag opened this issue Aug 17, 2021 · 0 comments

Comments

@chrisbag
Copy link

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,

@chrisbag chrisbag changed the title Authorizationwith SetFields on many to many relationships tables Authorization with SetFields on many to many relationships tables Aug 17, 2021
@daffl daffl transferred this issue from feathersjs-ecosystem/feathers-authentication-hooks Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant