Skip to content

Commit 3012b4b

Browse files
committed
CLAUDE.md: note repeat_ttl_seconds 8600 as possible typo for 86400
1 parent 88262ab commit 3012b4b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,3 +673,11 @@ A custom Symfony profiler panel showing how the bundle handled a request — sec
673673
When a component has a file uploaded to S3 with private ACL, accessing the file requires a pre-signed temporary URL. The bundle's uploadable system doesn't currently handle the pre-signed URL lifecycle — the URL returned may be permanent and publicly accessible (or inaccessible).
674674

675675
**Fix direction:** The `Flysystem temporary URL` generator (`silverback.api_components.uploadable.url_generator.temporary`) likely generates pre-signed URLs already. Tests for this path with a real (or mock) S3 adapter are missing. Also: the download endpoint (`src/Action/Uploadable/DownloadAction.php`) can gate access — apps can hook into events — but this isn't documented or tested.
676+
677+
---
678+
679+
## Known Configuration Quirks
680+
681+
### `repeat_ttl_seconds: 8600` — possible typo for 86400
682+
683+
The default value for `user.password_reset.repeat_ttl_seconds` in the bundle configuration is `8600` seconds (2 hours 23 minutes). This is likely a typo for `86400` (24 hours). Verify against `src/DependencyInjection/Configuration.php` before quoting this value in documentation or changing the default. If intentional, add a comment explaining the reasoning.

0 commit comments

Comments
 (0)