Re: how to create authorised users for protected collections

From John R. McPherson
DateTue, 05 Mar 2002 14:55:26 +1300
Subject Re: how to create authorised users for protected collections
In-Reply-To (00ac01c1c3e7$397e8860$7bf4d982-scms-waikato-ac-nz)
Stefan Boddie wrote:

> In the parse_cgi_args() function of src/recpt/receptionist.cpp you could add
> the following block of (completely untested) code sometime before the call
> to check_external_cgiargs().
>
> if (args["c"] == "mycol") {
> args['uan'] = 1;
> args['ug'] = "mygroup";
> }


or even
#####
if (args["c"] == "mycol") {
args["uan"] = 1;
args["ug"] = "mygroup";
}
#####

if you want it to work :)

John.