diff --git a/backend/src/services/participant.service.ts b/backend/src/services/participant.service.ts index b30fdcf..baf82f5 100644 --- a/backend/src/services/participant.service.ts +++ b/backend/src/services/participant.service.ts @@ -91,7 +91,7 @@ export class ParticipantService { canPublishData: true, canUpdateOwnMetadata: true, hidden: false, - recorder: true, + recorder: false, agent: false }, openvidu: { @@ -106,6 +106,7 @@ export class ParticipantService { protected generatePublisherPermissions(roomId: string): ParticipantPermissions { return { livekit: { + roomCreate: false, roomJoin: true, roomList: true, roomRecord: false, diff --git a/backend/tests/helpers/assertion-helpers.ts b/backend/tests/helpers/assertion-helpers.ts index 0966e79..558b571 100644 --- a/backend/tests/helpers/assertion-helpers.ts +++ b/backend/tests/helpers/assertion-helpers.ts @@ -474,7 +474,7 @@ const getPermissions = (roomId: string, role: ParticipantRole) => { canPublishData: true, canUpdateOwnMetadata: true, hidden: false, - recorder: true, + recorder: false, agent: false }, openvidu: { @@ -487,6 +487,7 @@ const getPermissions = (roomId: string, role: ParticipantRole) => { case ParticipantRole.PUBLISHER: return { livekit: { + roomCreate: false, roomJoin: true, roomList: true, roomRecord: false,