Re:Tuql: Automatically create a GraphQL server from a SQLite...
by codethief on Wednesday April 26, 2023 @10:58AM
(#35714682)
Authorization is usually not handled by a GraphQL framework. You typically have a business layer between your GraphQL API and your database. (And probably some basic JWT authentication layer in front of your API. Notice the difference between authorization & authentication.)
[ Parent
| on HN ]
Re:Tuql: Automatically create a GraphQL server from a SQLite...
by runlaszlorun on Wednesday April 26, 2023 @01:31PM
(#35717274)
Sorry, yes, I meant authorization. So you're saying to just effectively run a filter in the business layer based on allowed role/user/whatever. Seems pretty straightforward but I wonder if I'm missing something.