bigbluebutton-Github/bigbluebutton-html5/imports/api/note/server
Pedro Beschorner Marin 09b39a8d63 Add extra pad validation
Associate pads with meetings so session validation is restricted to the
meeting's valid session tokens.

Meteor will dispatch new redis events on shared notes and closed captions
pads creation. This event will go through apps and reach web to populate
a new meeting's pad collection that contains all valid pad id's for that
session. Nginx will use this collection to check if the user's session token
belongs to the pad's authorized users.

Besides these modifications, an extra change will be needed at notes.nginx.
Location /pad/p/ needs to change it's auth_request:

from /bigbluebutton/connection/checkAuthorization;
to /bigbluebutton/connection/validatePad;
2021-02-10 13:37:04 -03:00
..
handlers Shared notes unread indicator 2019-05-31 20:02:33 +00:00
methods Add extra pad validation 2021-02-10 13:37:04 -03:00
modifiers Add extra pad validation 2021-02-10 13:37:04 -03:00
eventHandlers.js Shared notes unread indicator 2019-05-31 20:02:33 +00:00
helpers.js Replace FNV32a pad's id generator with salted SHA1 2021-02-09 12:59:59 -03:00
index.js Shared notes unread indicator 2019-05-31 20:02:33 +00:00
publishers.js utilize Meteor connection id instead of trusting client side meetingId, userId 2020-02-06 15:48:16 -05:00