policies: consolidate log user and application
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
ff2baf502b
commit
039d896dee
|
@ -117,8 +117,8 @@ class PolicyAccessView(AccessMixin, View):
|
||||||
result = policy_engine.result
|
result = policy_engine.result
|
||||||
LOGGER.debug(
|
LOGGER.debug(
|
||||||
"PolicyAccessView user_has_access",
|
"PolicyAccessView user_has_access",
|
||||||
user=user,
|
user=user.username,
|
||||||
app=self.application,
|
app=self.application.slug,
|
||||||
result=result,
|
result=result,
|
||||||
)
|
)
|
||||||
if not result.passing:
|
if not result.passing:
|
||||||
|
|
Reference in New Issue