Revision 6391
Added by ben leinfelder about 13 years ago
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
use Permission.REPLICATE not EXECUTE