From ae319da5fd91c102b387296f9884401e120f9b79 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 26 Jan 2017 17:43:37 -0500 Subject: Disable local path migration by default (#4033) Site admin now has to enable manually by config option [repository] ENABLE_LOCAL_PATH_MIGRATION = true. Site admin always grants this permission, but regulars users have to be allowed by site admins in admin user panel. --- conf/locale/locale_en-US.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf/locale') diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index f326ab89..be36ae7c 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -384,7 +384,8 @@ migrate_type = Migration Type migrate_type_helper = This repository will be a mirror migrate_repo = Migrate Repository migrate.clone_address = Clone Address -migrate.clone_address_desc = This can be a HTTP/HTTPS/GIT URL or local server path. +migrate.clone_address_desc = This can be a HTTP/HTTPS/GIT URL. +migrate.clone_address_desc_import_local = You're also allowed to migrate a repository by local server path. migrate.permission_denied = You are not allowed to import local repositories. migrate.invalid_local_path = Invalid local path, it does not exist or not a directory. migrate.failed = Migration failed: %v -- cgit v1.2.3