apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PermissionValidator.java/PermissionValidator/hasCreateNamespacePermission
class PermissionValidator:  public boolean hasCreateNamespacePermission(String appId) {

    return rolePermissionService.userHasPermission(userInfoHolder.getUser().getUserId(),
        PermissionType.CREATE_NAMESPACE,
        appId);
  }