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.
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!