Admin APIs for participant management (#13)

* stubs for room admin APIs

* room store APIs to persist participants

* participant persistence

* updated protobufs

* implemented APIs to mute/remove/etc

* fixed mute handling
This commit is contained in:
David Zhao
2021-02-10 00:06:32 -08:00
committed by GitHub
parent 61b9569e38
commit 38140debdf
30 changed files with 3016 additions and 289 deletions
+8 -4
View File
@@ -1,10 +1,14 @@
package auth
type VideoGrant struct {
RoomCreate bool `json:"roomCreate,omitempty"`
RoomJoin bool `json:"roomJoin,omitempty"`
RoomList bool `json:"roomList,omitempty"`
Room string `json:"room,omitempty"`
// actions on rooms
RoomCreate bool `json:"roomCreate,omitempty"`
RoomList bool `json:"roomList,omitempty"`
// actions on a particular room
RoomAdmin bool `json:"roomAdmin,omitempty"`
RoomJoin bool `json:"roomJoin,omitempty"`
Room string `json:"room,omitempty"`
}
type ClaimGrants struct {