🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69008

Re: dynamic newsgroup access

#69008
From: Jeffrey M. Vinocur
Date: Tue, 20 Apr 2004 09:14
19 lines
1886 bytes
In article <c615au$5gb$1@woodrow.ucdavis.edu>,
Mason Sin-Fai Leung  <leungm@pc36.cs.ucdavis.edu> wrote:
>
>With the perl_access and perl_auth parameters, I can auth users and generate 
>newsgroups dynamically.  I have several groups of users from the same company 
>who need to access different newsgroups and they are restricted to read each 
>other's newsgroups.  Is there a way to create newsgroup access right based on 
>the user login?  I thought about using environment variable to help the 
>access perl script, but have a feeling there has to be a better way.  Is 
>there a second way to do it?  Thanks..

When you have required authentication, you already know the
username as it is available in the %attributes hash.  I'm not
sure what else to tell you.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <c62pmj$cpt$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!canoe.uoregon.edu!news.cse.psu.edu!news.litech.org!not-for-mail
References: <c615au$5gb$1@woodrow.ucdavis.edu>

Show Full Headers
Complete Article Headers
Message-ID: <c62pmj$cpt$1@puck.litech.org>
Subject: Re: dynamic newsgroup access
Date: Tue, 20 Apr 2004 09:14:59 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <c615au$5gb$1@woodrow.ucdavis.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!canoe.uoregon.edu!news.cse.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 19
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1082452499 13117 66.218.0.75 (20 Apr 2004 09:14:59
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 20 Apr 2004 09:14:59 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)