lock permission
This commit is contained in:
parent
748f8fef45
commit
5ee56c9afb
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue