fix(admin): Fix setting CalDAV rate limits

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2024-03-11 11:37:33 +01:00
parent 2dc12ceb06
commit 78bb9db5cb

View File

@@ -148,15 +148,15 @@ Rate limits
Nextcloud rate limits the creation of calendars and subscriptions if too many items are created within a short time frame. The default is 10 calendars or subscriptions per hour. This can be customized as follows::
# Set limit to 15 items per 30 minutes
php occ config:app:set calendar rateLimitCalendarCreation --type=integer --value=15
php occ config:app:set calendar rateLimitPeriodCalendarCreation --type=integer --value=1800
php occ config:app:set dav rateLimitCalendarCreation --type=integer --value=15
php occ config:app:set dav rateLimitPeriodCalendarCreation --type=integer --value=1800
Additionally, the maximum number of calendars and subscriptions a user may create is limited to 30 items. This can be customized too::
# Allow users to create 50 calendars/subscriptions
php occ config:app:set calendar maximumCalendarsSubscriptions --type=integer --value=50
php occ config:app:set dav maximumCalendarsSubscriptions --type=integer --value=50
or::
# Allow users to create calendars/subscriptions without restriction
php occ config:app:set calendar maximumCalendarsSubscriptions --type=integer --value=-1
php occ config:app:set dav maximumCalendarsSubscriptions --type=integer --value=-1