🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Mason Sin-Fai Leung Mon, 19 Apr 2004 18:21
dynamic newsgroup access
#69003
Author: Mason Sin-Fai Leung
Date: Mon, 19 Apr 2004 18:21
12 lines
1564 bytes
Hi all,

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..

Mason
Re: dynamic newsgroup access
#69008
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads