mirror of
https://github.com/livekit/livekit.git
synced 2026-05-14 07:35:17 +00:00
d123675008
This patch updates the check for auto creating rooms to also consider the RoomCreate grant per token instead of just the global config option. With this patch, applications can decide on their own whether users or which users can auto create rooms. This allows applications that rely on auto creation (saving an API call) to co-exist with those who might want to mint tokens for subscribe-only users. Specifically LaSuite Meet relies on the auto create behavior, however enabling the global config option would make a MatrixRTC deployment vulnerable to abuse, as users on remote homeservers get tokens in order to subscribe.