Article View: news.software.nntp
Article #79396Re: Syntax or permissions first?
From: Julien ÉLIE
Date: Wed, 03 Sep 2008 06:04
Date: Wed, 03 Sep 2008 06:04
53 lines
3119 bytes
3119 bytes
Hi Russ,
>> I wonder which one between the syntax of a whole command or the
>> permissions to use the base command comes first.
>
> I would do syntax first. I think that's what clients would generally
> expect.
All right.
It is also what I think it better to do; I will see what I can do
for nnrpd because authentication and/or treating each argument is
as often as not done before the overall syntaxical reading.
>> If I cannot use BODY (no read access):
>>
>> CAPABILITIES
>> VERSION 2
>> READER
>> AUTHINFO
>> .
-> Read AUTHINFO USER of course (AUTHINFO alone is not right in the
case I suggested), and also 101 before the answer! My mistake.
> READER should only be advertised if the client can use reader commands.
> If they don't have read access to any group, I wouldn't advertise READER,
> unless I'm missing some subtlety about what commands are included in that.
The problem is that DATE is included in READER commands and it is allowed :)
(In fact, that was especially for that reason why I asked.)
But I also read:
o Reading mode, after a successful MODE READER command (see Section
5.3).
* It MUST NOT advertise the MODE-READER capability.
* It MUST advertise the READER capability.
* It MAY NOT advertise the IHAVE capability, even if it was
advertising it in transit mode.
So I understand that READER is mandatory when we are in MODE READER
(thus nnrpd), be that as accessible commands may.
The READER capability seems different than the other as for the
availability of commands.
--
Julien ÉLIE
« Quoi de plus inhumain qu'un sacrifice humain ? » (Alphonse Allais)
Technical Details
Message-ID:
<g9l9ec$46l$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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<g9hkag$i39$1@news.trigofacile.com> <878wuaqki6.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <g9l9ec$46l$1@news.trigofacile.com> Subject: Re: Syntax or permissions first? Date: Wed, 3 Sep 2008 08:04:52 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <g9hkag$i39$1@news.trigofacile.com> <878wuaqki6.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 53 NNTP-Posting-Host: aaubervilliers-151-1-49-24.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1220421901 4309 83.114.131.24 (3 Sep 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Wed, 3 Sep 2008 06:05:01 +0000 (UTC) In-Reply-To: <878wuaqki6.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 X-Original-Bytes: 2847