Ignore:
Timestamp:
2003-07-18T10:02:55+12:00 (21 years ago)
Author:
sjboddie
Message:

Added the following options to the collect.cfg file:

=> auth_collection: This has two values document or collection, provides

authentication at the collection level or document level.

=> auth_groups: This allows user groups to access collections or documents.

=> allow_acls: When used in conjunction with authcollection = document to

activate the following two options, must be either true or false.

=> allowallexcept: This option requires a list of space separated document OID's

which means all documents can be viewed and the ones listed cannot
without authentication.

=> denyallexcept: This option requires a list of space separated document OID's

whereby all documents require authentication except those listed
by document OID's.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.cpp

    r4905 r4974  
    10781078// error is found it will return false and no cgi page should
    10791079// be created using the arguments.
     1080
    10801081bool receptionist::check_mainargs (cgiargsclass &args, ostream &logout) {
    10811082  // if this receptionist is running in collection dependant mode
     
    10991100    } else {
    11001101
    1101       ColInfoResponse_t *cinfo = get_collectinfo_ptr (collectproto, arg_c, logout);
    1102 
     1102       ColInfoResponse_t *cinfo = get_collectinfo_ptr (collectproto, arg_c, logout);
     1103
     1104       if(cinfo->auth_collection == "collection")
     1105      {
     1106         args["uan"] = "1";
     1107         args["ug"] = cinfo->auth_group;
     1108      }
     1109       
     1110       
    11031111      if (cinfo != NULL) {
    11041112    if (!cinfo->ccsCols.empty()) {
Note: See TracChangeset for help on using the changeset viewer.