Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any third party GraphQL library worth its salt should implement some kind of ACL. It seems to be the case with the most popular ones [1] [2]. One simple idea is to implement authorization in the data models. GraphQL delegate ~get~ and ~list~ to ressource model that could implement authorization based on the context of the request.

[1] https://www.apollographql.com/docs/apollo-server/security/au...

[2] https://docs.graphene-python.org/projects/django/en/latest/a...



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: