https://gitlab.synchro.net/main/sbbs/-/commit/c29e1bdfc55af507f7b2abd5
Modified Files:
exec/tests/listfiles_bridges/bridges.js src/sbbs3/js_bbs.cpp sbbs.h viewfile.cpp
Log Message:
JS bbs.can_view_file(): whether the user may view a file's contents
True when the file exists and a file viewer configured for it is available
to the user, the same rule the View command applies (the viewer's access requirements checked with the file's directory current); it displays
nothing. File lister modules use it to decide whether to show a file's
contents themselves. The viewer selection is shared with viewfile().
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net