FirebaseExtended / firebase-queue

MIT License
786 stars 108 forks source link

Implementing auth.canAddTasks, auth.canProcessTasks, auth.canAddSpecs #60

Closed 1dolinski closed 8 years ago

1dolinski commented 8 years ago

I've implemented JWT on my server with admin:true. I'd prefer to use the custom token fields for more restricted access. There is mention in the README of custom tokens: auth.canAddTasks, auth.canProcessTasks, auth.canAddSpecs

If someone has an example of these, specifically how the token field is connected with a user id, I'd really appreciate it.

Cheers!