Project

General

Profile

Revision 1336

Added by Jing Tao almost 18 years ago

Delete the code that adding access rule for access file itself.

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
339 339
          
340 340
          // if acl is not in object list
341 341
          //should insert permission for aclid itself into database
342
          if (!aclObjects.contains(aclid))
342
          /*if (!aclObjects.contains(aclid))
343 343
          {
344 344
            DocumentIdentifier aclIdItself = new DocumentIdentifier(aclid);
345 345
            String aclIdString = aclIdItself.getIdentifier();
346 346
            insertPermissions(aclIdString,leavingTagName);
347
          }
347
          }*/
348 348
          
349 349

  
350 350
        } catch (SQLException sqle) {

Also available in: Unified diff