working commit

This commit is contained in:
2026-02-12 12:00:17 +02:00
parent ae15bddb15
commit b279687623
20 changed files with 639 additions and 192 deletions
+26
View File
@@ -15,7 +15,33 @@ import (
)
func (hand *Handler) SendHello(rctx *router.Context) {
authSuccess, _ := rctx.Bools[authTag]
authUser, _ := rctx.Strings[userTag]
hand.logg.Debugf("%s:%v", authTag, authSuccess)
hand.logg.Debugf("%s:%v", userTag, authUser)
if authSuccess {
}
params := &operator.SendHelloParams{}
res, _ := hand.oper.SendHello(params)
hand.SendResult(rctx, res)
}
/*
func checkGrant(who, subject, operation string) (bool, error) {
return true, error
}
type Grant struct {
AccountID `xxxx-xxxx`
Subject `file`
Operation `putFile`
Path "foo/bare"
}
*/