Native access debug

This commit is contained in:
mr
2026-04-21 08:16:04 +02:00
parent 5cc04ee490
commit 50a5e90f33
3 changed files with 149 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ type Owner struct {
}
func VerifyAccess(a Accessor, id string) error {
if a == nil {
return errors.New("no accessor to verify access")
}
data, _, err := a.LoadOne(id)
if err != nil {
return err