Changeset 25426 for main


Ignore:
Timestamp:
2012-04-19T15:30:44+12:00 (12 years ago)
Author:
sjm84
Message:

When we check security we want to check it for the to level OID and not any subsections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/Collection.java

    r25092 r25426  
    758758        {
    759759            String oid = request.getAttribute("oid");
     760            if(oid.contains("."))
     761            {
     762                oid = oid.substring(0, oid.indexOf("."));
     763            }
     764           
    760765            ArrayList<String> groups = getPermittedGroups(oid);
    761766           
Note: See TracChangeset for help on using the changeset viewer.