Great Circle Associates Majordomo-Users
(February 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: "users" patch
From: David Shaw <dshaw @ cnds . jhu . edu>
Organization: Computer Science Department, The Johns Hopkins University
Date: Tue, 3 Feb 1998 18:27:49 -0500
To: majordomo-users @ greatcircle . com

Hi all,

Here's my situation: I have a list that is fairly high volume.  To weed
out the inanities, I have set restrict_post to a second, hidden, list. 
After approving a bunch of posts by hand for each new user, and after I
know they aren't a raving nutter, I add them to this hidden list. 

This all works fine.

Unfortunately, I want to set 'get' and 'index' access on the real list to
'list'. With 1.94.4, this uses the restrict_post list to decide if the
person should be granted access or not... which is not what I want.  I
want the *real* list to determine that, and the restrict_post list to,
well, restrict posts. 

Here's a patch to fix this against 1.94.4.  It works by adding a
selector "users" to get_access, index_access, and so on.  If you use
"users", then Majordomo will use the regular listname / listname-digest
files to determine if the person is authorized, whether restrict_post is
set or not.

	http://www.jabberwocky.com/stuff/majordomo/users-patch.txt

David

-- 
    David Shaw  |  dshaw@cs.jhu.edu  |  WWW http://www.cs.jhu.edu/~dshaw/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson

Indexed By Date Previous: Re: How Can I ???
From: System Administrator <root@atrium.cardima.com>
Next: Re: How Can I ???
From: Rich Pieri <rich.pieri@prescienttech.com>
Indexed By Thread Previous: Re: How Can I ???
From: Rich Pieri <rich.pieri@prescienttech.com>
Next: Initial Setup Queries
From: "R.T. Campos" <benny@klink.com.ph>

Google
 
Search Internet Search www.greatcircle.com