* stubs for room admin APIs * room store APIs to persist participants * participant persistence * updated protobufs * implemented APIs to mute/remove/etc * fixed mute handling
18 lines
432 B
Go
18 lines
432 B
Go
package auth
|
|
|
|
type VideoGrant struct {
|
|
// 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 {
|
|
Identity string `json:"-"`
|
|
Video *VideoGrant `json:"video,omitempty"`
|
|
}
|