Project

General

Profile

« Previous | Next » 

Revision 6474

newer d1 jars -- contains CN.isNodeAuthorized() method

View differences:

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