outposts: fix lint
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
55ea9afeec
commit
9fc072e4df
|
@ -357,7 +357,10 @@ class Outpost(models.Model):
|
||||||
LOGGER.warning("permission doesn't exist", perm=model_or_perm)
|
LOGGER.warning("permission doesn't exist", perm=model_or_perm)
|
||||||
continue
|
continue
|
||||||
user.user_permissions.add(permission.first())
|
user.user_permissions.add(permission.first())
|
||||||
LOGGER.debug("Updated service account's permissions", perms=UserObjectPermission.objects.filter(user=user))
|
LOGGER.debug(
|
||||||
|
"Updated service account's permissions",
|
||||||
|
perms=UserObjectPermission.objects.filter(user=user),
|
||||||
|
)
|
||||||
return user
|
return user
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Reference in New Issue