Configuring gallery slide options
Gallery slide options are used to restrict what users can request when uploading gallery slides.
An example configuration looks like this:
gallery_slide_options:
max_upload_size_bytes: 5_000_000 # 5 MB
max_pending_requests_per_user: 3
max_request_duration_seconds: 1209600 # 14 days
default_request_duration_seconds: 604800 # 7 days
max_request_start_delay_seconds: 1209600 # 14 days
These options are pretty intuitive.
max_upload_size_bytesrestricts the maximum size (in bytes) of a slide that a user may uploadmax_pending_requests_per_userdoes not currently do anything. It will eventually prevent users from spamming requests.max_request_duration_secondssets the maximum duration a user can request between their start datetime and end datetime.default_request_duration_secondssets the default duration for new slide upload requests, which the user may change.max_request_start_delay_secondsprevents users from scheduling content too far into the future. They cannot set a start date later than the current datetime +max_request_start_delay_secondsseconds.
Content managers for a particular gallery may update the original values to bypass max_request_duration_seconds
and max_request_start_delay_seconds when managing content.