Project

General

Profile

« Previous | Next » 

Revision 6391

use Permission.REPLICATE not EXECUTE

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
986 986
	    Subject targetNodeSubject = node.getSubject(0);
987 987
	    
988 988
		// check for authorization to replicate
989
	    allowed = D1Client.getCN().isReplicationAuthorized(session, targetNodeSubject , pid, Permission.EXECUTE);
989
	    allowed = D1Client.getCN().isReplicationAuthorized(session, targetNodeSubject , pid, Permission.REPLICATE);
990 990
	    
991 991
	    // if the person is authorized, perform the read
992 992
	    if (allowed) {

Also available in: Unified diff