diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index 600b608..17030c0 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -462,6 +462,7 @@ defmodule KmxgitWeb.RepositoryController do
|> assign(:changeset, changeset)
|> assign_current_organisation(owner)
|> assign(:owner, owner)
+ |> assign(:public_access, changeset.public_access)
|> render("new.html")
end
end