Revision 9050
Added by Jing Tao over 9 years ago
MNodeService.java | ||
---|---|---|
242 | 242 |
boolean allowed = false; |
243 | 243 |
allowed = isAdminAuthorized(session); |
244 | 244 |
|
245 |
String serviceFailureCode = "2902"; |
|
246 |
Identifier sid = getPIDForSID(pid, serviceFailureCode); |
|
247 |
if(sid != null) { |
|
248 |
pid = sid; |
|
249 |
} |
|
250 |
|
|
245 | 251 |
//check if it is the authoritative member node |
246 | 252 |
if(!allowed) { |
247 | 253 |
allowed = isAuthoritativeMNodeAdmin(session, pid); |
Also available in: Unified diff
Add the code to handle the sid in the delete and archive method.