Revision 6474
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
976 | 976 |
Subject targetNodeSubject = node.getSubject(0); |
977 | 977 |
|
978 | 978 |
// check for authorization to replicate |
979 |
allowed = D1Client.getCN().isReplicationAuthorized(session, targetNodeSubject , pid, Permission.REPLICATE);
|
|
979 |
allowed = D1Client.getCN().isNodeAuthorized(session, targetNodeSubject , pid, Permission.REPLICATE);
|
|
980 | 980 |
|
981 | 981 |
// if the person is authorized, perform the read |
982 | 982 |
if (allowed) { |
Also available in: Unified diff
newer d1 jars -- contains CN.isNodeAuthorized() method