Project

General

Profile

« Previous | Next » 

Revision 9051

Added by Jing Tao over 9 years ago

Add the code to support the sereis id on isAuthorized and systemMetadataChanged method.

View differences:

D1NodeService.java
1046 1046
        
1047 1047
    }
1048 1048
    
1049
    String serviceFailureCode = "1760";
1050
    Identifier sid = getPIDForSID(pid, serviceFailureCode);
1051
    if(sid != null) {
1052
        pid = sid;
1053
    }
1054
    
1049 1055
    // the authoritative member node of the pid always has the access as well.
1050 1056
    if (isAuthoritativeMNodeAdmin(session, pid)) {
1051 1057
        allowed = true;

Also available in: Unified diff