Commit e8ca9249 by Őry Máté

dashboard: Allow transferring ownership while activity in progress

closes #293
parent 9831b9b0
...@@ -2859,6 +2859,7 @@ class TransferOwnershipConfirmView(LoginRequiredMixin, View): ...@@ -2859,6 +2859,7 @@ class TransferOwnershipConfirmView(LoginRequiredMixin, View):
old = instance.owner old = instance.owner
with instance_activity(code_suffix='ownership-transferred', with instance_activity(code_suffix='ownership-transferred',
instance=instance, user=request.user): instance=instance, user=request.user):
instance.owner = request.user instance.owner = request.user
instance.clean() instance.clean()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment