From | deepak kumar |
Date | 30 May 2003 04:55:41 -0000 |
Subject | [greenstone-users] authorised users for protected collections |
hello,
I am looking for some idea to make a collection accessible to a paticular group of users. In the greenstone archive section, i found this trick, which won't work actually. Do anyone suggest me how to make a collection restricted with password. I compliede the source code for greenstone after putting few line
I like to mention here the environment that i am using
line of code that i put in the src/recpt/receptionist.cpp if (args["c"] == "imtcol") {
I made sure that i have users added in a new group "imtgroup" and
Best regards
Unfortunately you've found a bit of a half-truth in the users
Having said that, if you're not afraid to get your hands dirty the
In the parse_cgi_args() function of src/recpt/receptionist.cpp you
if (args["c"] == "mycol") {
By adding this and recompiling the code you should find that only
This change will also work for collections exported to CD-ROM (as
I hope this helps. If you don't feel comfortable altering the code
regards,
___________________________________________________
|