policies: consolidate log user and application
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -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:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user