Commit 5ee56c9a authored by Mark Chao's avatar Mark Chao

lock permission

parent 748f8fef
......@@ -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
......
......@@ -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"
......
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 to comment