|
|
|
@ -1896,7 +1896,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
JSONObject clientInfo = getClientInfo(Integer.parseInt(currentClientId));
|
|
|
|
|
if (clientInfo.containsKey("parent_client_id")) {
|
|
|
|
|
int parentClientId = clientInfo.getIntValue("parent_client_id");
|
|
|
|
|
if (parentClientId != client_id && !listLevel3Client(client_id).contains(parentClientId)) {
|
|
|
|
|
if (parentClientId != client_id && client_id!= Integer.parseInt(currentClientId) && !listLevel3Client(client_id).contains(parentClientId)) {
|
|
|
|
|
throw new Exception("partner has no permission");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|