providers/oidc: fix error when using with app_gw

This commit is contained in:
Jens Langhammer
2020-01-02 16:38:01 +01:00
parent d24133d8a2
commit edeed18ae8
2 changed files with 20 additions and 4 deletions

View File

@ -20,6 +20,5 @@ class CreateAssignPermView(CreateView):
self.object._meta.app_label,
self.object._meta.model_name,
)
print(full_permission)
assign_perm(full_permission, self.request.user, self.object)
return response