Thread View: news.software.nntp
2 messages
2 total messages
Started by Daniel
Mon, 10 Feb 2003 19:37
inn 2.3.4, nnrpd_auth hook bypassed when newsgroup is moderated?
Author: Daniel
Date: Mon, 10 Feb 2003 19:37
Date: Mon, 10 Feb 2003 19:37
14 lines
1370 bytes
1370 bytes
inn 2.3.4, using nnrpd_auth.py hooks for a standalone news server. Read and Write permissions vary among users/newsgroups. In nnrpd/post.c, it looks like the python authorize hook (called for read or post) is not called for moderated newsgroups (NF_FLAG_MODERATED), only when NF_FLAG_OK. The post is mailed directly to the moderator without any chance of it first being denied by PY_authorize. Was this intended? Any plans to make this configurable? Thanks for letting me know, ~ Daniel
Re: inn 2.3.4, nnrpd_auth hook bypassed when newsgroup is moderated?
Author: Erik Klavon
Date: Mon, 10 Feb 2003 19:53
Date: Mon, 10 Feb 2003 19:53
23 lines
2042 bytes
2042 bytes
This is also true in ValidNewsgroups(). I guess the intent here was to allow the moderator to perform their own authorization. Maybe the right thing would be to call the python hook in these cases with an additional type attribute to inform the script that the group is moderated. Erik Daniel wrote: > inn 2.3.4, using nnrpd_auth.py hooks for a standalone news server. > Read and Write permissions vary among users/newsgroups. > > In nnrpd/post.c, it looks like the python authorize hook (called for > read or post) is not called for moderated newsgroups > (NF_FLAG_MODERATED), only when NF_FLAG_OK. The post is mailed > directly to the moderator without any chance of it first being denied > by PY_authorize. Was this intended? Any plans to make this > configurable? > > > Thanks for letting me know, > ~ Daniel
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