From 50f54e1562c080fe6ad5b7183ce32dc2793d5cb0 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 5 Sep 2024 13:34:01 -0400 Subject: [PATCH] feat(adminmanual): Add section about CardDAV rate limits Signed-off-by: Josh --- admin_manual/groupware/contacts.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/admin_manual/groupware/contacts.rst b/admin_manual/groupware/contacts.rst index ab378a999..4c4c8e09e 100644 --- a/admin_manual/groupware/contacts.rst +++ b/admin_manual/groupware/contacts.rst @@ -49,3 +49,22 @@ Shared items .. versionadded:: 5.5.0 For this feature, the shipped `related resources app `_ needs to be enabled. + +Rate limits +----------- + +Nextcloud rate limits the creation of address books and how many can be created in a short period of time. The default is 10 address books per hour. This can be customized as follows:: + + # Set limit to 15 items per 30 minutes + php occ config:app:set dav rateLimitAddressBookCreation --type=integer --value=15 + php occ config:app:set dav rateLimitPeriodAddressBookCreation --type=integer --value=1800 + +Additionally, the maximum number of address books a user may create is limited to 10 items. This can be customized too:: + + # Allow users to create 50 addressbooks + php occ config:app:set dav maximumAdressbooks --type=integer --value=50 + +or:: + + # Allow users to create address books without restriction + php occ config:app:set dav maximumAdressbooks --type=integer --value=-1