only lower id roles can be modfified, add new hub endpoints

This commit is contained in:
2026-05-01 14:28:07 +02:00
parent dc097ad52a
commit 7c4f326410
4 changed files with 227 additions and 55 deletions
+4
View File
@@ -73,3 +73,7 @@ func StringToUuidSlice(uuidStr string) ([]uuid.UUID, error) {
func StringToTimestamp(str string) (time.Time, error) {
return time.Parse(time.RFC3339, str)
}
func StringToBool(str string) bool {
return strings.ToLower(str) == "true"
}