🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82108

Re: Readers behaviour with newsgroups status

#82108
From: Julien ÉLIE
Date: Sat, 14 Nov 2009 13:51
61 lines
4157 bytes
Hi Russ,

> The "L" local post access right is an explicit override, letting the user
> do something that one normally would not expect to be able to do.  In that
> sort of a case, I'm not sure it matters *too* much if we make the data
> that user sees consistent.  It's a bit outside the protocol somewhat by
> definition, and is generally only used with users who have special
> capabilities anyway.

Yep, it bypasses what is specified in the protocol.  (A bit like the
possibility a user has to advertise overview fields his server is not
consistent with.)
So we may leave "n" as is.


> I think it may be too complex to do the fully correct thing here, since
> the logic of whether or not someone might have local post access could get
> rather complicated (and in the presence of Perl or Python access hooks,
> may be impossible for nnrpd to determine).

I was just suggesting to do the same thing we currently do for 200/201.
The only difference would be that we look for "L" and not "P".

nnrpd returns 200 even though a Perl or Python hook refuses everything;
nnrpd returns 200 even though there is "post: news.group.not.carried"
or "post: !*".  Better advertise more rights (200) than less (201).


> We'd end up having to show a
> flag of "y" for all "n" groups just in case someone has local post rights
> in order to be sure of not getting it wrong.

Yes, and only if using AUTHINFO the user may obtain these rights.  That is
to say if he can have the corresponding access block.
For instance, if "L" is given only for connections coming from "localhost",
a normal user will not see "y".

However, as you suggest, it is maybe pointless having these special cases
for an explicit an unusual override made by the news administrator.
And we can advertise "n" for all users, then "y" for the authenticated
user with local post rights.  At least for him to get it right.
It is up to the news client to send LIST ACTIVE at the right moment :-)

RFC 3977 only mentions:

   The status of a newsgroup only indicates how posts to that newsgroup
   are normally processed and is not necessarily customised to the
   specific client.  For example, if the current client is forbidden
   from posting, then this will apply equally to groups with status "y".
   Conversely, a client with special privileges (not defined by this
   specification) might be able to post to a group with status "n".

We do not know if it is meant to work like 200/201 or reflect the rights
at the current state of the connection.

-- 
Julien ÉLIE

« C'est tout un art que de parvenir à couper un gâteau de telle sorte
  que chacun croit en avoir eu la plus grosse part. »
Technical Details
Message-ID: <hdmckj$96f$1@news.trigofacile.com>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <hdkrlm$mve$1@news.trigofacile.com><hdm006$b65$1@news2.rz.uni-karlsruhe.de><hdm6lp$3n4$1@news.trigofacile.com> <87vdhdmhd6.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <hdmckj$96f$1@news.trigofacile.com>
Subject: Re: Readers behaviour with newsgroups status
Date: Sat, 14 Nov 2009 14:51:13 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <hdkrlm$mve$1@news.trigofacile.com><hdm006$b65$1@news2.rz.uni-karlsruhe.de><hdm6lp$3n4$1@news.trigofacile.com> <87vdhdmhd6.fsf@windlord.stanford.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 61
NNTP-Posting-Host: aaubervilliers-151-1-40-10.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1258206675 9423 83.112.151.10 (14 Nov 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 14 Nov 2009 13:51:15 +0000 (UTC)
In-Reply-To: <87vdhdmhd6.fsf@windlord.stanford.edu>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049