d-pac / restful-keystone

Automatic RESTful API enabler for KeystoneJS
MIT License
160 stars 50 forks source link

Example of Authorization via API #26

Open robksawyer opened 7 years ago

robksawyer commented 7 years ago

Can you share an example of how you'd use this to authorize a request that requiresAdmin?

Should it be used like so https://gist.github.com/JedWatson/f88b60e9d6b33b6c47c4?