lock permission

This commit is contained in:
Mark Chao 2018-06-04 10:38:05 +09:00
parent 748f8fef45
commit 5ee56c9afb
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ module Lfs
success(lock: lock, http_status: :ok)
elsif forced
error(_('You must have master access to force delete a lock'), 403)
error(_('You must have maintainer access to force delete a lock'), 403)
else
error(_("%{lock_path} is locked by GitLab User %{lock_user_id}") % { lock_path: lock.path, lock_user_id: lock.user_id }, 403)
end

View File

@ -4764,7 +4764,7 @@ msgstr ""
msgid "You have reached your project limit"
msgstr ""
msgid "You must have master access to force delete a lock"
msgid "You must have maintainer access to force delete a lock"
msgstr ""
msgid "You must sign in to star a project"