diff --git a/controlpanel/frontend/views/datasource.py b/controlpanel/frontend/views/datasource.py index d3a4f8471..e6ef13dfb 100644 --- a/controlpanel/frontend/views/datasource.py +++ b/controlpanel/frontend/views/datasource.py @@ -234,6 +234,7 @@ def get_success_url(self): def form_valid(self, form): self.object.access_level = form.cleaned_data["access_level"] self.object.is_admin = form.cleaned_data.get("is_admin") + self.object.current_user = self.request.user self.object.paths = form.cleaned_data["paths"] self.object.save() return FormMixin.form_valid(self, form)