Skip to content

Commit f871d0e

Browse files
✨(backend) use room_create grant for room auto creation
This patch sets the room_create grant for room admins, allowing livekit's global room auto create option to be disabled.
1 parent fd894eb commit f871d0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/backend/core/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def generate_token(
9090
room=room,
9191
room_join=True,
9292
room_admin=is_admin_or_owner,
93+
room_create=is_admin_or_owner,
9394
can_update_own_metadata=True,
9495
can_publish=bool(sources),
9596
can_publish_sources=sources,

0 commit comments

Comments
 (0)