nossas / bonde-server

API Rails
GNU General Public License v3.0
8 stars 5 forks source link

Enable authentication token to work with postgres roles #215

Open lpirola opened 7 years ago

lpirola commented 7 years ago

https://github.com/postgraphql/postgraphql/blob/master/docs/pg-jwt-spec.md#retrieving-claims-in-postgresql

lpirola commented 7 years ago

@devton found this library "casbin" and like the model definition. https://github.com/casbin/casbin/blob/master/Model.md

hsluoyz commented 5 years ago

Hi @lpirola , the model definition has moved to: https://casbin.org/docs/en/syntax-for-models