add more hub endpoints

This commit is contained in:
cos
2026-04-30 13:27:36 +02:00
parent 0afed9a326
commit 88217db278
3 changed files with 177 additions and 5 deletions
-1
View File
@@ -259,7 +259,6 @@ type HubRole struct {
Color Rgba `json:"color"`
Id uint8 `json:"id"`
BoundedGroup uint8 `json:"boundedGroup"` // BoundedGroup 0 for global
IsDeleted bool `json:"-"`
}
func (h *HubRole) GrantPermission(r Permissions) {