Closed chakeresa closed 5 years ago
Things we should do on the back end (see https://pusher.com/docs/chatkit/reference/server-ruby, https://github.com/pusher/chatkit-server-ruby/tree/master/examples):
3-7
if the chat is between users with id
s 3 and 7 (in order of lowest to highest)Requests they should be able to do client-side (see https://pusher.com/docs/chatkit/quick_start/javascript):
Permissions we should set globally for a default user (for client side requests), see https://pusher.com/docs/chatkit/roles-and-permissions:
message:create
user can add messages to any room (that they're a member of)Example of JS implementation: https://www.sitepoint.com/pusher-vue-real-time-chat-app/
Initial questions: