Revision 8355
Added by Chris Jones about 11 years ago
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
On calls to archive(), log the correct call (not delete()).