From 8eb22b27f04b1877fede5e0b2a2f88591145fc62 Mon Sep 17 00:00:00 2001 From: guqing Date: Wed, 6 Sep 2023 17:16:40 +0800 Subject: [PATCH] refactor: complete default values for global settings --- .../extensions/system-configurable-configmap.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/application/src/main/resources/extensions/system-configurable-configmap.yaml b/application/src/main/resources/extensions/system-configurable-configmap.yaml index 2663d7353a..045948f895 100644 --- a/application/src/main/resources/extensions/system-configurable-configmap.yaml +++ b/application/src/main/resources/extensions/system-configurable-configmap.yaml @@ -6,7 +6,8 @@ data: user: | { "allowRegistration": false, - "defaultRole": "" + "defaultRole": "", + "avatarPolicy": "default-policy" } theme: | { @@ -26,7 +27,17 @@ data: } post: | { - "review": false + "review": false, + "postPageSize": 10, + "archivePageSize": 10, + "categoryPageSize": 10, + "tagPageSize": 10 + } + comment: | + { + "enable": true, + "requireReviewForNew": true, + "systemUserOnly": true } menu: | {