summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Ramsay <james@jramsay.com.au>2018-04-24 12:51:39 +0200
committerJames Ramsay <james@jramsay.com.au>2018-05-01 15:37:33 +0200
commit564050ec0ff4bd642e7d1963b185403042af5696 (patch)
tree5290422148012d07e4412f1d54171582d968b322 /doc
parent1134f540d223e1b7eed2b52abf2174d8712f26f8 (diff)
downloadgitlab-ce-564050ec0ff4bd642e7d1963b185403042af5696.tar.gz
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 'doc')
-rw-r--r--doc/workflow/lfs/manage_large_binaries_with_git_lfs.md11
1 files changed, 1 insertions, 10 deletions
diff --git a/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md b/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md
index 0e29740b15f..0d592a6d43e 100644
--- a/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md
+++ b/doc/workflow/lfs/manage_large_binaries_with_git_lfs.md
@@ -251,13 +251,4 @@ It is possible to host LFS objects externally by setting a custom LFS url with `
Because GitLab verifies the existence of objects referenced by LFS pointers, push will fail when LFS is enabled for the project.
-LFS can be disabled for a project by Owners and Masters using the [Project API](../../api/projects.md#edit-project).
-
-```bash
-curl --request PUT \
- --url https://example.com/api/v4/projects/<PROJECT_ID> \
- --header 'Private-Token: <YOUR_PRIVATE_TOKEN>' \
- --data 'lfs_enabled=false'
-```
-
-Note, `<PROJECT_ID>` can also be substituted with a [namespaced path](../../api/README.md#namespaced-path-encoding).
+LFS can be disabled from the [Project settings](../../user/project/settings/index.md).