Skip to content
Snippets Groups Projects
Commit d1147b44 authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

modules/policy: QTRACE policy; cleanup

parent 9e88cf88
Branches
Tags
1 merge request!167TRACE policy
......@@ -229,7 +229,7 @@ function policy.enforce(state, req, action)
return kres.DONE
end
elseif action == policy.QTRACE then
req.options = bit.band(bit.bor(req.options, kres.query.TRACE))
req.options = bit.bor(req.options, kres.query.TRACE)
elseif type(action) == 'function' then
return action(state, req)
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment