Ignore:
Timestamp:
2006-06-20T10:53:18+12:00 (18 years ago)
Author:
mdewsnip
Message:

ZipCollectionConfigurations now includes only those collections that the user has access to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/gliserver.pl

    r11941 r11942  
    409409
    410410    # Users can be in any group to perform this action
    411     &authenticate_user($gsdl_cgi, $username, "");
     411    my $user_groups = &authenticate_user($gsdl_cgi, $username, "");
    412412
    413413    my $gsdlhome = $ENV{'GSDLHOME'};
     
    419419    my $java_classpath = &util::filename_cat($gsdlhome, "bin", "java", "GLIServer.jar");
    420420    my $zip_file_path = &util::filename_cat($collect_directory, $username . "-" . "collection-configurations.zip");
    421     my $java_args = "\"$zip_file_path\" \"$collect_directory\"";
     421    my $java_args = "\"$zip_file_path\" \"$collect_directory\" \"$username\" \"$user_groups\"";
    422422    my $java_command = "$java -classpath \"$java_classpath\" org.greenstone.gatherer.remote.ZipCollectionConfigurations $java_args";
    423423
Note: See TracChangeset for help on using the changeset viewer.