Move the `objects` method to `LfsHelper` so that it is also available to `LfsStorageController`
What does this MR do?
objects method to
LfsHelper so that it is also available to
It is needed for the
lfs_check_access! callback when the repository size limit is enabled (EE only).
Why was this MR needed?
Errors shown here: #24392 (closed)
Discovered thanks to gitlab-com/infrastructure#302
What are the relevant issue numbers?
Fixes #24392 (closed)