Temp for debugging

Signed-off-by: Mario Minardi <mario@tailscale.com>
This commit is contained in:
Mario Minardi 2025-07-14 12:54:31 -06:00
parent fc5050048e
commit 9f25b7dcca
No known key found for this signature in database

View File

@ -620,6 +620,9 @@ func (c *conn) evaluatePolicy() (_ *tailcfg.SSHAction, localUser string, acceptE
if !ok {
return nil, "", nil, noPolicy
}
polJSON, _ := json.Marshal(pol)
fmt.Println("evaluatePolicy: ", string(polJSON))
return c.evalSSHPolicy(pol)
}