Changeset 38314


Ignore:
Timestamp:
2023-10-16T12:12:30+13:00 (7 months ago)
Author:
anupama
Message:

Webswing GLI needs to prefix username to new collections if the user is a personal collections editor. Otherwise, the user can no longer view and therefore no longer open collections they created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java

    r32712 r38314  
    297297        name_buffer = new StringBuffer(Gatherer.remoteGreenstoneServer.getUsername() + "-" + name_buffer.toString());
    298298    }
     299    else if (Gatherer.isWebswing && personal_collection_button.isSelected()) {
     300        name_buffer = new StringBuffer(Gatherer.webswingAuthenticator.getUsername() + "-" + name_buffer.toString());
     301    }
     302   
    299303
    300304    // We need to ensure the filename is unique
Note: See TracChangeset for help on using the changeset viewer.