Changeset 20535


Ignore:
Timestamp:
2009-09-07T11:30:41+12:00 (15 years ago)
Author:
davidb
Message:

The depositor now supports users that belong to collection specific groups (e.g. demo-collection-editor) in addition to all-collections-editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/recpt/depositoraction.cpp

    r19821 r20535  
    253253
    254254  //right now, anyone can do anything until it's time to build
    255   if (current_page == "select") {
     255
     256  // Used to check current page was "select", now changed to "step1".
     257  // (i.e. one page later).  This is needed so users that belong to
     258  // specific collection-edit groups (e.g. demo-collection-editor) are able
     259  // to log in successfully.
     260  //   
     261
     262  if (current_page == "step1") {
    256263    //authenticate the user if authentication is available
    257264    args["uan"] = 1;
    258     args["ug"] = "all-collections-editor";
     265    args["ug"] = "all-collections-editor," + args["c"] + "-collection-editor";
    259266  }
    260267
Note: See TracChangeset for help on using the changeset viewer.