|
|
|
@ -536,7 +536,7 @@ public class PartnerManageController {
|
|
|
|
|
clientManager.removeSub(clientMoniker,manager);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/hf", method = RequestMethod.PUT, role = {ManagerRole.SERVANT, ManagerRole.DEVELOPER})
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/hf", method = RequestMethod.PUT, role = {ManagerRole.ADMIN, ManagerRole.OPERATOR})
|
|
|
|
|
public void switchHfPermission(@PathVariable String clientMoniker, @RequestBody JSONObject pass, @ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager) {
|
|
|
|
|
clientManager.switchHfLink(manager, clientMoniker, pass.getBooleanValue("allow"));
|
|
|
|
|
}
|
|
|
|
|