home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   SYNC_PROGRAMMING      Synchronet/Baja/XSDK Programming      49,116 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 47,020 of 49,116   
   Rob Swindell (on Windows 11) to Git commit to main/sbbs/master   
   src/sbbs3/js_user.c   
   17 Jun 25 20:17:38   
   
   TZUTC: -0700   
   MSGID: 52407.syncprog@1:103/705 2cb83289   
   PID: Synchronet 3.21a-Linux master/4b105e9f5 Jun 16 2025 GCC 12.2.0   
   TID: SBBSecho 3.28-Linux master/2d4af7be9 Jun 16 2025 GCC 12.2.0   
   BBSID: VERT   
   CHRS: ASCII 1   
   FORMAT: flowed   
   https://gitlab.synchro.net/main/sbbs/-/commit/24226f351c85dabf3bc71713   
   Modified Files:   
   	src/sbbs3/js_user.c   
   Log Message:   
   New User class methods: can_access_sub() and can_access_dir()   
      
   Much easier and more accurate way to determine (via JS) if a specific user   
   has a particular kind of access to a message sub-board or a file directory.   
   This is accurate because it uses the 'userdat' functions under the hood, which   
   check much more than just a single access requirement string against the user.   
      
   Usage:   
   bool can_access_sub(string sub_code or number sub_num   
    [,'read', 'post', or 'operator'])   
   bool can_access_dir(string dir_code or number dir_num   
    [,'download', 'upload', or 'operator'])   
      
   If no access string (second argument) is specified, then just generic "access"   
   (e.g. for listing areas) is checked.   
      
   The existing msg_area.sub[].can_access, can_read, can_post (and similar for   
   file_area.dir[]) are still useful, but only for the current 'user'. If you   
   want to check a different user's access to a sub-board or file directory, you   
   really need to use these new User class methods.   
   --- SBBSecho 3.28-Linux   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 103/705 105/81 106/201 124/5016 128/187 129/14 153/757 7715   
   SEEN-BY: 154/10 30 110 203/0 218/700 221/0 226/30 227/114 229/110   
   SEEN-BY: 229/114 206 317 400 426 428 470 550 700 705 240/1120 5832   
   SEEN-BY: 263/1 266/512 280/464 5003 5006 291/111 292/8125 301/1 320/219   
   SEEN-BY: 322/757 341/66 234 342/200 396/45 423/120 460/58 467/888   
   SEEN-BY: 633/267 280 384 418 420 2744 712/848 770/1 902/26 5020/400   
   SEEN-BY: 5075/35   
   PATH: 103/705 280/464 633/280 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca