policies: consolidate log user and application

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-06-07 22:26:01 +02:00
parent ff2baf502b
commit 039d896dee
1 changed files with 2 additions and 2 deletions

View File

@ -117,8 +117,8 @@ class PolicyAccessView(AccessMixin, View):
result = policy_engine.result
LOGGER.debug(
"PolicyAccessView user_has_access",
user=user,
app=self.application,
user=user.username,
app=self.application.slug,
result=result,
)
if not result.passing: