Re: [greenstone-users] authorised users for protected collections

From John R. McPherson
DateFri, 30 May 2003 17:53:56 +1200
Subject Re: [greenstone-users] authorised users for protected collections
In-Reply-To (20030530045541-16831-qmail-webmail8-rediffmail-com)
On Fri, May 30, 2003 at 04:55:41AM -0000, deepak kumar wrote:

> line of code that i put in the src/recpt/receptionist.cpp
>
> if (args["c"] == "imtcol") {
> args['uan'] = 1;
> args['ug'] = "imtgroup";
> }
>
> I made sure that i have users added in a new group "imtgroup" and
> a collection named "imtcol". Do i need some thing else to
> modify?

Hi,
You need to use double quotes "uan" and "ug", not single quotes
'uan' and 'ug', otherwise the C++ code will get the string type wrong.

Also, don't forget to install the newly made "library" executable
into the appropriate cgi-bin directory.

John McPherson