apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PermissionValidator.java/PermissionValidator/hasReleaseNamespacePermission
class PermissionValidator:  public boolean hasReleaseNamespacePermission(String appId, String namespaceName, String env) {
    return hasReleaseNamespacePermission(appId, namespaceName) ||
        rolePermissionService.userHasPermission(userInfoHolder.getUser().getUserId(),
        PermissionType.RELEASE_NAMESPACE, RoleUtils.buildNamespaceTargetId(appId, namespaceName, env));
  }