backend: update participant permissions to disable recorder and prevent room creation for publishers
This commit is contained in:
parent
f7ce0152c1
commit
c80b88fc67
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user