edumeet/server/access.ts
2021-04-10 22:49:27 +02:00

10 lines
485 B
TypeScript

// The role(s) will gain access to the room
// even if it is locked (!)
export const BYPASS_ROOM_LOCK = "BYPASS_ROOM_LOCK";
// The role(s) will gain access to the room without
// going into the lobby. If you want to restrict access to your
// server to only directly allow authenticated users, you could
// add the userRoles.AUTHENTICATED to the user in the userMapping
// function, and change to BYPASS_LOBBY : [ userRoles.AUTHENTICATED ]
export const BYPASS_LOBBY = "BYPASS_LOBBY";