add plugins to member profile.

This commit is contained in:
Miroslav Šedivý 2022-05-08 00:15:36 +02:00
parent d5425ea457
commit 52642dbeb6

View File

@ -10,6 +10,8 @@ var (
type MemberProfile struct {
Name string `json:"name"`
// permissions
IsAdmin bool `json:"is_admin"`
CanLogin bool `json:"can_login"`
CanConnect bool `json:"can_connect"`
@ -19,6 +21,9 @@ type MemberProfile struct {
CanAccessClipboard bool `json:"can_access_clipboard"`
SendsInactiveCursor bool `json:"sends_inactive_cursor"`
CanSeeInactiveCursors bool `json:"can_see_inactive_cursors"`
// plugin scope
Plugins map[string]any `json:"plugins"`
}
type MemberProvider interface {