Project

General

Profile

« Previous | Next » 

Revision 8355

Added by Chris Jones over 10 years ago

On calls to archive(), log the correct call (not delete()).

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
398 398
	  boolean allowed = isAdminAuthorized(session);
399 399
	  
400 400
	  if (!allowed) {
401
		  String msg = "The subject is not allowed to call delete() on a Coordinating Node.";
401
		  String msg = "The subject is not allowed to call archive() on a Coordinating Node.";
402 402
		  logMetacat.info(msg);
403 403
		  throw new NotAuthorized("1320", msg);
404 404
	  }

Also available in: Unified diff