Changeset 25426

Show
Ignore:
Timestamp:
19.04.2012 15:30:44 (8 years ago)
Author:
sjm84
Message:

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

Files:
1 modified

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