Multi-user support for cache items: - item_types now includes actor_id (@user@server format) - l2_shares now includes actor_id - Same cache item can be owned by multiple users with different types - Deleting severs user's connection, not the actual file - Cache files only removed when no users reference them - Added has_remaining_references() and cleanup_orphaned_cache_item() - Updated all CRUD functions to include actor_id parameter Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 KiB
19 KiB