Merge pull request #17791 from gustavotrott/graphql-flags-mods-can-mute-unmute
feat (graphql-server): Add flags moderatorsCanMute/Unmute to usersPolicies
This commit is contained in:
commit
0c82d0d1f8
@ -129,7 +129,21 @@ create table "meeting_usersPolicies" (
|
|||||||
);
|
);
|
||||||
create index "idx_meeting_usersPolicies_meetingId" on "meeting_usersPolicies"("meetingId");
|
create index "idx_meeting_usersPolicies_meetingId" on "meeting_usersPolicies"("meetingId");
|
||||||
|
|
||||||
CREATE OR REPLACE VIEW "v_meeting_usersPolicies" AS SELECT * FROM "meeting_usersPolicies";
|
CREATE OR REPLACE VIEW "v_meeting_usersPolicies" AS
|
||||||
|
SELECT "meeting_usersPolicies"."meetingId",
|
||||||
|
"meeting_usersPolicies"."maxUsers",
|
||||||
|
"meeting_usersPolicies"."maxUserConcurrentAccesses",
|
||||||
|
"meeting_usersPolicies"."webcamsOnlyForModerator",
|
||||||
|
"meeting_usersPolicies"."userCameraCap",
|
||||||
|
"meeting_usersPolicies"."guestPolicy",
|
||||||
|
"meeting_usersPolicies"."meetingLayout",
|
||||||
|
"meeting_usersPolicies"."allowModsToUnmuteUsers",
|
||||||
|
"meeting_usersPolicies"."allowModsToEjectCameras",
|
||||||
|
"meeting_usersPolicies"."authenticatedGuest",
|
||||||
|
"meeting"."isBreakout" is false "moderatorsCanMuteAudio",
|
||||||
|
"meeting"."isBreakout" is false and "meeting_usersPolicies"."allowModsToUnmuteUsers" is true "moderatorsCanUnmuteAudio"
|
||||||
|
FROM "meeting_usersPolicies"
|
||||||
|
JOIN "meeting" using("meetingId");
|
||||||
|
|
||||||
create table "meeting_metadata"(
|
create table "meeting_metadata"(
|
||||||
"meetingId" varchar(100) references "meeting"("meetingId") ON DELETE CASCADE,
|
"meetingId" varchar(100) references "meeting"("meetingId") ON DELETE CASCADE,
|
||||||
|
@ -8,13 +8,15 @@ select_permissions:
|
|||||||
- allowModsToEjectCameras
|
- allowModsToEjectCameras
|
||||||
- allowModsToUnmuteUsers
|
- allowModsToUnmuteUsers
|
||||||
- authenticatedGuest
|
- authenticatedGuest
|
||||||
- webcamsOnlyForModerator
|
|
||||||
- guestPolicy
|
- guestPolicy
|
||||||
- meetingId
|
|
||||||
- meetingLayout
|
|
||||||
- maxUserConcurrentAccesses
|
- maxUserConcurrentAccesses
|
||||||
- maxUsers
|
- maxUsers
|
||||||
|
- meetingId
|
||||||
|
- meetingLayout
|
||||||
|
- moderatorsCanMuteAudio
|
||||||
|
- moderatorsCanUnmuteAudio
|
||||||
- userCameraCap
|
- userCameraCap
|
||||||
|
- webcamsOnlyForModerator
|
||||||
filter:
|
filter:
|
||||||
meetingId:
|
meetingId:
|
||||||
_eq: X-Hasura-MeetingId
|
_eq: X-Hasura-MeetingId
|
||||||
|
Loading…
Reference in New Issue
Block a user