• whislist: listfiles improvements headers and ARS

    From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 7 22:40:05 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/202#note_2016

    The filelist.js -hdr option already works as you have described here.The second request is not feasible (You can't use ARS to define a user). I think another potential solution would be to allow jsexec to "run as" a user number, then just specify the number with the security settings you want.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Mon Jun 7 22:40:05 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/202
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Tue Jun 8 12:15:17 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/202#note_2017

    Yes, run as can be good feature You can run script with differents security context this only lists these libraries that user have access:```jsexec -u ragnarok filelist.js jsexec -u 1 filelist.js```Also, another approcach can be set the ARS for script ex:```jsexec -ars "LEVEL 40" fielist.js```This should show only libraries level 40 has access to.I don't know if it can be useful for other modules, but it can be useful for filelist.jsSaludos!
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)