Ignore:
Timestamp:
2021-08-13T15:11:27+12:00 (3 years ago)
Author:
anupama
Message:

Related to previous commits to do with expanding user groups. Still going through the code. Found another important instance where the list of expanded groups instead of original group listing (as entered and stored in DB) is necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/Authentication.java

    r35287 r35288  
    513513        Element usernameField = GSXML.createParameter(result_doc, USERNAME_PARAM, userInfo.getUsername());
    514514        Element passwordField = GSXML.createParameter(result_doc, PASSWORD_PARAM, userInfo.getPassword());
    515         Element groupsField = GSXML.createParameter(result_doc, GROUPS_PARAM, userInfo.getOrigGroups());
     515        Element groupsField = GSXML.createParameter(result_doc, GROUPS_PARAM, userInfo.getExpandedGroups()); // used by LibraryServlet that calls the containing method
    516516        Element accountStatusField = GSXML.createParameter(result_doc, ACCOUNT_STATUS_PARAM, userInfo.getAccountStatus());
    517517        Element commentField = GSXML.createParameter(result_doc, COMMENT_PARAM, userInfo.getComment());
Note: See TracChangeset for help on using the changeset viewer.