authorize: remove log (#2122)

This commit is contained in:
Caleb Doxsey 2021-04-23 14:00:08 -06:00 committed by GitHub
parent 762b565239
commit f365b30e02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,11 +97,6 @@ func (e *Evaluator) Evaluate(ctx context.Context, req *Request) (*Result, error)
)
allow := getAllowVar(res[0].Bindings.WithoutWildcards())
log.Info(ctx).
Bool("ALLOW", allow).
Interface("SESSION", req.Session).
Interface("RESULT", res[0].Bindings.WithoutWildcards()).
Send()
// evaluate any custom policies
if allow {
for _, src := range req.CustomPolicies {