diff options
author | James Ramsay <james@jramsay.com.au> | 2018-04-24 13:51:39 +0300 |
---|---|---|
committer | James Ramsay <james@jramsay.com.au> | 2018-05-01 16:37:33 +0300 |
commit | 564050ec0ff4bd642e7d1963b185403042af5696 (patch) | |
tree | 5290422148012d07e4412f1d54171582d968b322 /app/helpers | |
parent | 1134f540d223e1b7eed2b52abf2174d8712f26f8 (diff) |
Enable LFS setting UI for Masters and Owners
LFS can be enabled and disabled per project using the API by Masters
and Owners, but the UI is only available to Admins. The interface and
API should be consistent.
LFS can also be enabled and disabled per group using the API by Owners,
but the UI is only available to Admins. This interface should also be
consistent.
Additionally removes an unneeded check if 2FA interface, since the
interface is only available to Owners.
Closes #33320
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 801e624e1de..eb81dc2de43 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -442,7 +442,7 @@ module ProjectsHelper visibilityHelpPath: help_page_path('public_access/public_access'), registryAvailable: Gitlab.config.registry.enabled, registryHelpPath: help_page_path('user/project/container_registry'), - lfsAvailable: Gitlab.config.lfs.enabled && current_user.admin?, + lfsAvailable: Gitlab.config.lfs.enabled, lfsHelpPath: help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs') } |