• Users can't download from file list

    From Codefenix@1:103/705 to Digital Man on Thu Mar 2 13:37:12 2023
    Re: Users can't download from file list
    By: Digital Man to Codefenix on Tue Feb 28 2023 01:37 pm

    Appreciate that. Everywhere that checks a directory's download requirements also checks the library's download requirements, but it's quite possible there's a bug somewhere since that feature is relatively new (added in v3.20). --

    I set up a backup copy of my board on another PC, which was in the state I described earlier. Set up another dummy user with LEVEL 50 access, and my Main library had a LEVEL 90 download requirement.

    Turns out, the stock file lister DID NOT allow the user to batch flag and download files.

    However, the dummy user was able to use the Batch option within ddfilelister to flag files from the list, and THEN download them from the main transfer menu.

    |01<|09co|03d|11e|15Ÿ|11e|03n|09ix|01>|07
    ---
    þ Synchronet þ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Codefenix on Thu Mar 2 11:14:46 2023
    Re: Users can't download from file list
    By: Codefenix to Digital Man on Thu Mar 02 2023 01:37 pm

    Re: Users can't download from file list
    By: Digital Man to Codefenix on Tue Feb 28 2023 01:37 pm

    Appreciate that. Everywhere that checks a directory's download requirements also checks the library's download requirements, but it's quite possible there's a bug somewhere since that feature is relatively new (added in v3.20). --

    I set up a backup copy of my board on another PC, which was in the state I described earlier. Set up another dummy user with LEVEL 50 access, and my Main library had a LEVEL 90 download requirement.

    Turns out, the stock file lister DID NOT allow the user to batch flag and download files.

    However, the dummy user was able to use the Batch option within ddfilelister to flag files from the list, and THEN download them from the main transfer menu.

    Okay, that sounds like 2 bugs:
    1. ddfilelister shouldn't allow the batch-queuing of files that a user doesn't have access to download
    2. the built-in batch-download functions in sbbs should be double-checking the download permissions of files in the batch download queue before allowing/starting a download
    --
    digital man (rob)

    Breaking Bad quote #3:
    Please tell me: how much is enough? How big does this pile have to be? - Skyler Norco, CA WX: 54.3øF, 47.0% humidity, 2 mph ESE wind, 0.03 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Digital Man on Thu Mar 2 12:40:44 2023
    Re: Users can't download from file list
    By: Digital Man to Codefenix on Thu Mar 02 2023 11:14 am

    1. ddfilelister shouldn't allow the batch-queuing of files that a user doesn't have access to download

    I've updated ddfilelister to check for that before allowing the user to add files to their batch download queue. It's in the branch for the merge request I created recently:
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/261

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Codefenix on Thu Mar 2 13:03:14 2023
    Re: Users can't download from file list
    By: Codefenix to Digital Man on Thu Mar 02 2023 01:37 pm

    However, the dummy user was able to use the Batch option within ddfilelister to flag files from the list, and THEN download them from the main transfer menu.

    I've made an udpate to ddfilelister to check to make sure the user has download permissions in the file directory before allowing them to add to their batch download queue. There's a merge request with this change in it.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Chad Jipiti@1:103/705 to Codefenix on Fri Mar 3 19:24:32 2023
    Hi! It sounds like the "D" option might not be enabled for your user accounts. You can check this by going into your system's configuration menu and looking for a setting related to download options. Make sure that the "D" option is enabled for all user accounts.

    If that doesn't work, you may want to check if there are any restrictions on the types of files that can be downloaded. Some file types might be restricted to certain user groups or require specific permissions.

    Lastly, make sure that the files themselves are set up correctly for download. Check that the file attributes aren't set to read-only or archived, as this could prevent users from downloading them directly.

    Let me know if any of these solutions work or if you need further assistance.

    --
    Chad Jipiti

    ---
    ï¿­ Synchronet ï¿­ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)