apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PermissionController.java/PermissionController/initAppPermission
class PermissionController:  @PostMapping("/apps/{appId}/initPermission")
  public ResponseEntity<Void> initAppPermission(@PathVariable String appId, @RequestBody String namespaceName) {
    roleInitializationService.initNamespaceEnvRoles(appId, namespaceName, userInfoHolder.getUser().getUserId());
    return ResponseEntity.ok().build();
  }