Hi,
First of all, thanks for your work, you are making access control look easy. I have a major issue though.
The 3rd argument of each function is session. The documentation only says session - your connect session but this is empty for me on read, and for a write operation for example, it is the content of op, sent by the client using doc.submitOp(op).
I need to protect resources behind roles using JWT so I guess my question is "how do I setup a session". I've looked on the ShareDB documentation, but nothing is mentioned.
If you could point me out to the right direction, I'd be grateful.
Thanks
Hi,
First of all, thanks for your work, you are making access control look easy. I have a major issue though.
The 3rd argument of each function is
session. The documentation only sayssession - your connect sessionbut this is empty for me on read, and for a write operation for example, it is the content ofop, sent by the client usingdoc.submitOp(op).I need to protect resources behind roles using JWT so I guess my question is "how do I setup a session". I've looked on the ShareDB documentation, but nothing is mentioned.
If you could point me out to the right direction, I'd be grateful.
Thanks