🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74210

Re: readers.conf - Read groups from file

#74210
From: Jeffrey M. Vinocur
Date: Fri, 08 Sep 2006 16:08
46 lines
3047 bytes
In article <1mzLg.62495$5i3.36179@bgtnsc04-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>Users could be restricted to certain forums, and even restricted within 
>a forum as to what they could do, such as read only, or read and post. 
>Deletion was also a setting that could be controlled.
>
>It would be great to have such capabilities to regulate who gets where 
>in INN. If I had the smarts to program such power, I sure would do so. 

This would be straightforward with either of the perl hooks and
python hooks provided via readers.conf, except for the "deletion"
issue, which isn't one that comes up for us very often.  (And
can certainly be managed via a perl filter and nnrpdauthsender if
desired.)

I think every administrator looking for this sort of thing will
have subtly different needs.  So while you're looking for a
config file into which you could encode these complex needs, it
turns out that the programming hooks are carefully designed for
this sort of thing.  So I think that once you have a clear,
formal specification for your desired behavior, getting the
actual functions written is not particularly harder than learning
some strange config file syntax and trying to write them that
way.


>I don't know if perl/python would be "strong" enough though. I 
>understand it to be powerful for text manipulation, which reminds me of 
>COBOL. <yuck>

I think you're a little out of touch with scripting languages
these days.  They're more than powerful for almost anything
except sheer computational/mathematical tasks, and have excellent
builtin/library support for the sort of operations you'd need
(like looking up usernames in a database, filtering lists of
groups based on certain criteria, etc).

>Wouldn't something like C be more-fitting for such a task?

Nope.  Complete unsuited for this task.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <eds4i5$rl$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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <edm8ea$4pj$1@bananasplit.info> <edm8tq$hc9$1@puck.litech.org> <1mzLg.62495$5i3.36179@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <eds4i5$rl$1@puck.litech.org>
Subject: Re: readers.conf - Read groups from file
Date: Fri, 08 Sep 2006 16:08:37 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <edm8ea$4pj$1@bananasplit.info> <edm8tq$hc9$1@puck.litech.org> <1mzLg.62495$5i3.36179@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 46
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1157731717 885 66.218.0.75 (8 Sep 2006 16:08:37 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Fri, 8 Sep 2006 16:08:37 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)