Project

General

Profile

« Previous | Next » 

Revision 8633

additional logging for set access

View differences:

src/edu/ucsb/nceas/metacat/MetacatHandler.java
3418 3418
   	             String docid = DocumentUtil.getDocIdFromAccessionNumber(docList[0]);
3419 3419
   	             int rev = DocumentUtil.getRevisionFromAccessionNumber(docList[0]);
3420 3420
   	             guid = IdentifierManager.getInstance().getGUID(docid, rev);
3421
               	 logMetacat.debug("Setting access on found pid: " + guid);
3421 3422
                } catch (McdbDocNotFoundException e) {
3422 3423
               	 // log the warning
3423 3424
               	 logMetacat.warn("No pid found for [assumed] docid: " + docList[0]);
......
3426 3427
                }
3427 3428
            }
3428 3429
            try {
3430
            	
3431
              	logMetacat.debug("Setting access for docid: " + docList[0]);
3429 3432
                AccessControlForSingleFile accessControl = 
3430 3433
                    new AccessControlForSingleFile(docList[0]);
3431 3434
                accessControl.insertPermissions(accessBlock[0]);

Also available in: Unified diff