This message was deleted.
# helpdesk
s
This message was deleted.
b
I'm currently using these videoGrants but users can still join the room even if it hasn't been created yet.
Copy code
"video": {
    "roomCreate": false,
    "roomJoin": true,
    "room": "my-test-room",
    "canSubscribe": true
  }
My goal is making sure a room was created by a moderator / Account owner before allowing participants to join the room.
d
I think you can do this by disabling auto_create in the config. Then rooms have to be explicitly created with
CreateRoom
before they become usable
b
Through the cloud, is this an option which can be applied per project?
Maybe this will require myself to build a validation script prior to joining, if this is not a thing in cloud.
d
yah it's in project settings in Cloud
b
Wow, I sure had missed that in the UI. My bad. Thanks as always @dry-elephant-14928!
This said, even if I uncheck this, a user can still join the room even if the room hasn't been created manually. @dry-elephant-14928, are you aware if there's a delay for this to work?
d
yes, there is a delay for this as the values are cached. I think it's cached for about 5-10 mins
b
That's somewhat what I was thinking. Wonderful. Ill give it another run in a bit. Thanks 🙂
👍 1
@dry-elephant-14928, could it be possible that the cache refreshing happens a lot less frequently?
I'm saying this because, I currently do not have any rooms part of my project, and the option
Rooms are automatically created when a participant joins
is unchecked in the Cloud UI, but participant joining with the videoGrants provided in the initial post can still join.
Hello @dry-elephant-14928, could it be possible that the cloud option has no effect? Or could this be a bug?
Just gave it another go with the following token this morning, and I was still able to join a non-created room.
Copy code
{
  "sub": "user01",
  "jti": "user01",
  "exp": 1673032347,
  "nbf": 1673017947,
  "iat": 1673017947,
  "iss": "APIHDb4NpGLEDNG",
  "name": "Test User",
  "video": {
    "roomCreate": false,
    "roomJoin": true,
    "room": "my-test-room",
    "canSubscribe": true
  }
}
d
it's possible there's a bug with this setting. we'll investigate
❤️ 1
b
Thanks @dry-elephant-14928
Just coming back to this one, has any investigation started for this?
Hey @dry-elephant-14928, I was simply circling back to this issue, and I was wondering if you had any update?
d
Hey, sorry I do not. it's on the list of things we'll look into, but have a few other higher priority things to chase down at the moment
Hey Pat, this has been fixed and will be deployed to Cloud next week. Thank you for your patience here!
🙌 1
❤️ 1
b
Awesome news! timing is perfect.