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:
+8
-4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user