access: in readers.conf

Alex Kiernan alexk at demon.net
Mon Jan 6 09:02:28 UTC 2003


"Jeffrey M. Vinocur" <jeff at litech.org> writes:

> I was fiddling on nnrpd/perm.c to make "post: !*" result in a 201 banner 
> being displayed instead of 200, and observed from the code the following 
> interesting behavior:
> 
>    If access: is *before* newsgroups:/read:/post: lines, the presence
>    of R and P in the access string is ignored.
> 
> I don't think it's an entirely trivial fix, and thinking about it I had 
> another idea entirely...
> 

Funny how these things come up at the same time - I noticed exactly
that behaviour just before Christmas.

> Why don't we remove access: in INN 2.4?  The R and P functionality is
> already available with read:/post:, and it should be quite trivial to
> provide all the other parts of access: with individual boolean flags.
> 

I see Russ already had it in the TODO, in fact it was something I was
planning on doing in the 2.5 time frame.

> We could make this seamless to the user by having innupgrade modify 
> readers.conf (although the presence of multiple readers.conf files needs 
> to be considered).
> 

Presumably returns from perl_access would need to change too?

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-workers mailing list