@lobehub/chat 1.120.7 → 1.121.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/.cursor/rules/project-structure.mdc +54 -42
  2. package/.cursor/rules/testing-guide/testing-guide.mdc +28 -17
  3. package/.env.development +122 -0
  4. package/.vscode/settings.json +0 -1
  5. package/CHANGELOG.md +51 -0
  6. package/CLAUDE.md +3 -4
  7. package/apps/desktop/package.json +1 -0
  8. package/apps/desktop/src/main/modules/networkProxy/dispatcher.ts +24 -2
  9. package/changelog/v1.json +18 -0
  10. package/docker-compose/local/init_data.json +981 -1024
  11. package/docker-compose.development.yml +40 -0
  12. package/docs/development/basic/work-with-server-side-database.mdx +77 -0
  13. package/docs/development/basic/work-with-server-side-database.zh-CN.mdx +77 -0
  14. package/docs/self-hosting/advanced/s3/cloudflare-r2.mdx +1 -1
  15. package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +2 -2
  16. package/locales/zh-CN/common.json +7 -0
  17. package/package.json +2 -1
  18. package/packages/database/src/repositories/aiInfra/index.ts +3 -1
  19. package/packages/model-runtime/src/RouterRuntime/createRuntime.test.ts +6 -91
  20. package/packages/model-runtime/src/RouterRuntime/createRuntime.ts +6 -28
  21. package/packages/model-runtime/src/openrouter/index.ts +15 -12
  22. package/packages/model-runtime/src/openrouter/type.ts +10 -0
  23. package/packages/model-runtime/src/utils/modelParse.test.ts +66 -0
  24. package/packages/model-runtime/src/utils/modelParse.ts +15 -3
  25. package/packages/model-runtime/src/utils/postProcessModelList.ts +1 -0
  26. package/packages/utils/src/detectChinese.test.ts +37 -0
  27. package/packages/utils/src/detectChinese.ts +12 -0
  28. package/packages/utils/src/index.ts +1 -0
  29. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/TextArea.test.tsx +33 -18
  30. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/TopicListContent/ByTimeMode/index.tsx +3 -3
  31. package/src/app/[variants]/(main)/image/features/PromptInput/index.tsx +12 -0
  32. package/src/features/ChatInput/useSend.ts +14 -2
  33. package/src/hooks/useGeminiChineseWarning.tsx +91 -0
  34. package/src/locales/default/common.ts +7 -0
  35. package/src/store/global/initialState.ts +2 -0
@@ -1,557 +1,919 @@
1
1
  {
2
- "organizations": [
2
+ "adapters": [
3
+ {
4
+ "owner": "built-in",
5
+ "name": "api-adapter-built-in",
6
+ "createdTime": "2025-08-11T08:43:25Z",
7
+ "table": "casbin_api_rule",
8
+ "useSameDb": true,
9
+ "type": "",
10
+ "databaseType": "",
11
+ "host": "",
12
+ "port": 0,
13
+ "user": "",
14
+ "password": "",
15
+ "database": ""
16
+ },
17
+ {
18
+ "owner": "built-in",
19
+ "name": "user-adapter-built-in",
20
+ "createdTime": "2025-08-11T08:43:25Z",
21
+ "table": "casbin_user_rule",
22
+ "useSameDb": true,
23
+ "type": "",
24
+ "databaseType": "",
25
+ "host": "",
26
+ "port": 0,
27
+ "user": "",
28
+ "password": "",
29
+ "database": ""
30
+ }
31
+ ],
32
+ "applications": [
3
33
  {
4
34
  "owner": "admin",
5
35
  "name": "lobechat",
6
- "createdTime": "2025-08-11T16:57:04+08:00",
36
+ "createdTime": "2025-08-11T17:06:30+08:00",
7
37
  "displayName": "LobeChat",
8
- "websiteUrl": "https://lobehub.com",
9
38
  "logo": "https://lobehub.com/icon-192x192.png",
10
- "logoDark": "",
11
- "favicon": "https://lobehub.com/favicon.ico",
12
- "hasPrivilegeConsent": false,
13
- "passwordType": "plain",
14
- "passwordSalt": "",
15
- "passwordOptions": [
16
- "AtLeast6"
17
- ],
18
- "passwordObfuscatorType": "Plain",
19
- "passwordObfuscatorKey": "",
20
- "passwordExpireDays": 0,
21
- "countryCodes": [
22
- "US"
23
- ],
24
- "defaultAvatar": "https://lobehub.com/favicon.ico",
25
- "defaultApplication": "",
26
- "userTypes": null,
27
- "tags": [],
28
- "languages": [
29
- "en",
30
- "es",
31
- "fr",
32
- "de",
33
- "zh",
34
- "id",
35
- "ja",
36
- "ko",
37
- "ru",
38
- "vi",
39
- "pt",
40
- "it",
41
- "ms",
42
- "tr",
43
- "ar",
44
- "he",
45
- "nl",
46
- "pl",
47
- "fi",
48
- "sv",
49
- "uk",
50
- "kk",
51
- "fa",
52
- "cs",
53
- "sk"
54
- ],
55
- "themeData": null,
56
- "masterPassword": "",
57
- "defaultPassword": "",
58
- "masterVerificationCode": "",
59
- "ipWhitelist": "",
60
- "initScore": 0,
61
- "enableSoftDeletion": false,
62
- "isProfilePublic": true,
63
- "useEmailAsUsername": false,
64
- "enableTour": true,
39
+ "homepageUrl": "https://lobehub.com",
40
+ "description": "",
41
+ "organization": "lobechat",
42
+ "cert": "cert-built-in",
43
+ "defaultGroup": "",
44
+ "headerHtml": "",
45
+ "enablePassword": true,
46
+ "enableSignUp": false,
65
47
  "disableSignin": false,
66
- "ipRestriction": "",
67
- "navItems": null,
68
- "widgetItems": null,
69
- "mfaItems": null,
70
- "mfaRememberInHours": 12,
71
- "accountItems": [
48
+ "enableSigninSession": false,
49
+ "enableAutoSignin": false,
50
+ "enableCodeSignin": false,
51
+ "enableSamlCompress": false,
52
+ "enableSamlC14n10": false,
53
+ "enableSamlPostBinding": false,
54
+ "useEmailAsSamlNameId": false,
55
+ "enableWebAuthn": false,
56
+ "enableLinkWithEmail": false,
57
+ "orgChoiceMode": "",
58
+ "samlReplyUrl": "",
59
+ "providers": [
72
60
  {
73
- "name": "Organization",
74
- "visible": true,
75
- "viewRule": "Public",
76
- "modifyRule": "Admin",
77
- "regex": ""
61
+ "owner": "",
62
+ "name": "provider_captcha_default",
63
+ "canSignUp": false,
64
+ "canSignIn": false,
65
+ "canUnlink": false,
66
+ "countryCodes": null,
67
+ "prompted": false,
68
+ "signupGroup": "",
69
+ "rule": "",
70
+ "provider": null
71
+ }
72
+ ],
73
+ "signinMethods": [
74
+ {
75
+ "name": "Password",
76
+ "displayName": "Password",
77
+ "rule": "All"
78
78
  },
79
79
  {
80
- "name": "ID",
81
- "visible": true,
82
- "viewRule": "Public",
83
- "modifyRule": "Immutable",
84
- "regex": ""
80
+ "name": "Verification code",
81
+ "displayName": "Verification code",
82
+ "rule": "All"
85
83
  },
86
84
  {
87
- "name": "Name",
88
- "visible": true,
89
- "viewRule": "Public",
90
- "modifyRule": "Admin",
91
- "regex": ""
85
+ "name": "WebAuthn",
86
+ "displayName": "WebAuthn",
87
+ "rule": "None"
92
88
  },
93
89
  {
94
- "name": "Display name",
95
- "visible": true,
96
- "viewRule": "Public",
97
- "modifyRule": "Self",
98
- "regex": ""
90
+ "name": "Face ID",
91
+ "displayName": "Face ID",
92
+ "rule": "None"
93
+ }
94
+ ],
95
+ "signupItems": [
96
+ {
97
+ "name": "ID",
98
+ "visible": false,
99
+ "required": true,
100
+ "prompted": false,
101
+ "type": "",
102
+ "customCss": "",
103
+ "label": "",
104
+ "placeholder": "",
105
+ "options": null,
106
+ "regex": "",
107
+ "rule": "Random"
99
108
  },
100
109
  {
101
- "name": "Avatar",
110
+ "name": "Username",
102
111
  "visible": true,
103
- "viewRule": "Public",
104
- "modifyRule": "Self",
105
- "regex": ""
112
+ "required": true,
113
+ "prompted": false,
114
+ "type": "",
115
+ "customCss": "",
116
+ "label": "",
117
+ "placeholder": "",
118
+ "options": null,
119
+ "regex": "",
120
+ "rule": "None"
106
121
  },
107
122
  {
108
- "name": "User type",
123
+ "name": "Display name",
109
124
  "visible": true,
110
- "viewRule": "Public",
111
- "modifyRule": "Admin",
112
- "regex": ""
125
+ "required": true,
126
+ "prompted": false,
127
+ "type": "",
128
+ "customCss": "",
129
+ "label": "",
130
+ "placeholder": "",
131
+ "options": null,
132
+ "regex": "",
133
+ "rule": "None"
113
134
  },
114
135
  {
115
136
  "name": "Password",
116
137
  "visible": true,
117
- "viewRule": "Self",
118
- "modifyRule": "Self",
119
- "regex": ""
138
+ "required": true,
139
+ "prompted": false,
140
+ "type": "",
141
+ "customCss": "",
142
+ "label": "",
143
+ "placeholder": "",
144
+ "options": null,
145
+ "regex": "",
146
+ "rule": "None"
120
147
  },
121
148
  {
122
- "name": "Email",
149
+ "name": "Confirm password",
123
150
  "visible": true,
124
- "viewRule": "Public",
125
- "modifyRule": "Self",
126
- "regex": ""
151
+ "required": true,
152
+ "prompted": false,
153
+ "type": "",
154
+ "customCss": "",
155
+ "label": "",
156
+ "placeholder": "",
157
+ "options": null,
158
+ "regex": "",
159
+ "rule": "None"
127
160
  },
128
161
  {
129
- "name": "Phone",
162
+ "name": "Email",
130
163
  "visible": true,
131
- "viewRule": "Public",
132
- "modifyRule": "Self",
133
- "regex": ""
164
+ "required": true,
165
+ "prompted": false,
166
+ "type": "",
167
+ "customCss": "",
168
+ "label": "",
169
+ "placeholder": "",
170
+ "options": null,
171
+ "regex": "",
172
+ "rule": "Normal"
134
173
  },
135
174
  {
136
- "name": "Country code",
175
+ "name": "Phone",
137
176
  "visible": true,
138
- "viewRule": "Public",
139
- "modifyRule": "Self",
140
- "regex": ""
177
+ "required": true,
178
+ "prompted": false,
179
+ "type": "",
180
+ "customCss": "",
181
+ "label": "",
182
+ "placeholder": "",
183
+ "options": null,
184
+ "regex": "",
185
+ "rule": "None"
141
186
  },
142
187
  {
143
- "name": "Country/Region",
188
+ "name": "Agreement",
144
189
  "visible": true,
145
- "viewRule": "Public",
146
- "modifyRule": "Self",
147
- "regex": ""
190
+ "required": true,
191
+ "prompted": false,
192
+ "type": "",
193
+ "customCss": "",
194
+ "label": "",
195
+ "placeholder": "",
196
+ "options": null,
197
+ "regex": "",
198
+ "rule": "None"
148
199
  },
149
200
  {
150
- "name": "Location",
201
+ "name": "Signup button",
151
202
  "visible": true,
152
- "viewRule": "Public",
153
- "modifyRule": "Self",
154
- "regex": ""
203
+ "required": true,
204
+ "prompted": false,
205
+ "type": "",
206
+ "customCss": "",
207
+ "label": "",
208
+ "placeholder": "",
209
+ "options": null,
210
+ "regex": "",
211
+ "rule": "None"
155
212
  },
156
213
  {
157
- "name": "Address",
214
+ "name": "Providers",
158
215
  "visible": true,
159
- "viewRule": "Public",
160
- "modifyRule": "Self",
161
- "regex": ""
162
- },
216
+ "required": true,
217
+ "prompted": false,
218
+ "type": "",
219
+ "customCss": ".provider-img {\n width: 30px;\n margin: 5px;\n }\n .provider-big-img {\n margin-bottom: 10px;\n }\n ",
220
+ "label": "",
221
+ "placeholder": "",
222
+ "options": null,
223
+ "regex": "",
224
+ "rule": "small"
225
+ }
226
+ ],
227
+ "signinItems": [
163
228
  {
164
- "name": "Affiliation",
229
+ "name": "Back button",
165
230
  "visible": true,
166
- "viewRule": "Public",
167
- "modifyRule": "Self",
168
- "regex": ""
231
+ "label": "",
232
+ "customCss": ".back-button {\n top: 65px;\n left: 15px;\n position: absolute;\n}\n.back-inner-button{}",
233
+ "placeholder": "",
234
+ "rule": "None",
235
+ "isCustom": false
169
236
  },
170
237
  {
171
- "name": "Title",
238
+ "name": "Languages",
172
239
  "visible": true,
173
- "viewRule": "Public",
174
- "modifyRule": "Self",
175
- "regex": ""
240
+ "label": "",
241
+ "customCss": ".login-languages {\n top: 55px;\n right: 5px;\n position: absolute;\n}",
242
+ "placeholder": "",
243
+ "rule": "None",
244
+ "isCustom": false
176
245
  },
177
246
  {
178
- "name": "ID card type",
247
+ "name": "Logo",
179
248
  "visible": true,
180
- "viewRule": "Public",
181
- "modifyRule": "Self",
182
- "regex": ""
249
+ "label": "",
250
+ "customCss": ".login-logo-box {}",
251
+ "placeholder": "",
252
+ "rule": "None",
253
+ "isCustom": false
183
254
  },
184
255
  {
185
- "name": "ID card",
256
+ "name": "Signin methods",
186
257
  "visible": true,
187
- "viewRule": "Public",
188
- "modifyRule": "Self",
189
- "regex": ""
258
+ "label": "",
259
+ "customCss": ".signin-methods {}",
260
+ "placeholder": "",
261
+ "rule": "None",
262
+ "isCustom": false
190
263
  },
191
264
  {
192
- "name": "ID card info",
265
+ "name": "Username",
193
266
  "visible": true,
194
- "viewRule": "Public",
195
- "modifyRule": "Self",
196
- "regex": ""
267
+ "label": "",
268
+ "customCss": ".login-username {}\n.login-username-input{}",
269
+ "placeholder": "",
270
+ "rule": "None",
271
+ "isCustom": false
197
272
  },
198
273
  {
199
- "name": "Homepage",
274
+ "name": "Password",
200
275
  "visible": true,
201
- "viewRule": "Public",
202
- "modifyRule": "Self",
203
- "regex": ""
276
+ "label": "",
277
+ "customCss": ".login-password {}\n.login-password-input{}",
278
+ "placeholder": "",
279
+ "rule": "None",
280
+ "isCustom": false
204
281
  },
205
282
  {
206
- "name": "Bio",
283
+ "name": "Agreement",
207
284
  "visible": true,
208
- "viewRule": "Public",
209
- "modifyRule": "Self",
210
- "regex": ""
285
+ "label": "",
286
+ "customCss": ".login-agreement {}",
287
+ "placeholder": "",
288
+ "rule": "None",
289
+ "isCustom": false
211
290
  },
212
291
  {
213
- "name": "Tag",
292
+ "name": "Forgot password?",
214
293
  "visible": true,
215
- "viewRule": "Public",
216
- "modifyRule": "Admin",
217
- "regex": ""
294
+ "label": "",
295
+ "customCss": ".login-forget-password {\n display: inline-flex;\n justify-content: space-between;\n width: 320px;\n margin-bottom: 25px;\n}",
296
+ "placeholder": "",
297
+ "rule": "None",
298
+ "isCustom": false
218
299
  },
219
300
  {
220
- "name": "Language",
301
+ "name": "Login button",
221
302
  "visible": true,
222
- "viewRule": "Public",
223
- "modifyRule": "Admin",
224
- "regex": ""
303
+ "label": "",
304
+ "customCss": ".login-button-box {\n margin-bottom: 5px;\n}\n.login-button {\n width: 100%;\n}",
305
+ "placeholder": "",
306
+ "rule": "None",
307
+ "isCustom": false
225
308
  },
226
309
  {
227
- "name": "Gender",
310
+ "name": "Signup link",
228
311
  "visible": true,
229
- "viewRule": "Public",
230
- "modifyRule": "Admin",
231
- "regex": ""
312
+ "label": "",
313
+ "customCss": ".login-signup-link {\n margin-bottom: 24px;\n display: flex;\n justify-content: end;\n}",
314
+ "placeholder": "",
315
+ "rule": "None",
316
+ "isCustom": false
232
317
  },
233
318
  {
234
- "name": "Birthday",
319
+ "name": "Providers",
235
320
  "visible": true,
236
- "viewRule": "Public",
237
- "modifyRule": "Admin",
238
- "regex": ""
239
- },
321
+ "label": "",
322
+ "customCss": ".provider-img {\n width: 30px;\n margin: 5px;\n}\n.provider-big-img {\n margin-bottom: 10px;\n}",
323
+ "placeholder": "",
324
+ "rule": "small",
325
+ "isCustom": false
326
+ }
327
+ ],
328
+ "grantTypes": [
329
+ "authorization_code",
330
+ "password",
331
+ "client_credentials",
332
+ "token",
333
+ "id_token",
334
+ "refresh_token"
335
+ ],
336
+ "organizationObj": null,
337
+ "certPublicKey": "",
338
+ "tags": [],
339
+ "samlAttributes": null,
340
+ "isShared": false,
341
+ "ipRestriction": "",
342
+ "clientId": "a387a4892ee19b1a2249",
343
+ "clientSecret": "dbf205949d704de81b0b5b3603174e23fbecc354",
344
+ "redirectUris": [
345
+ "http://localhost:3210/api/auth/callback/casdoor",
346
+ "https://localhost:3210/api/auth/callback/casdoor",
347
+ "http://example.com/api/auth/callback/casdoor",
348
+ "https://example.com/api/auth/callback/casdoor"
349
+ ],
350
+ "forcedRedirectOrigin": "",
351
+ "tokenFormat": "JWT",
352
+ "tokenSigningMethod": "",
353
+ "tokenFields": [],
354
+ "expireInHours": 168,
355
+ "refreshExpireInHours": 168,
356
+ "signupUrl": "",
357
+ "signinUrl": "",
358
+ "forgetUrl": "",
359
+ "affiliationUrl": "",
360
+ "ipWhitelist": "",
361
+ "termsOfUse": "",
362
+ "signupHtml": "",
363
+ "signinHtml": "",
364
+ "themeData": null,
365
+ "footerHtml": "",
366
+ "formCss": "\u003cstyle\u003e\n .login-panel {\n padding: 40px 70px 0 70px;\n border-radius: 10px;\n background-color: #ffffff;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n }\n .panel-logo {\n width: 64px;\n }\n .login-logo-box {\n margin-top: 20px;\n }\n\n #parent-area\n \u003e main\n \u003e div\n \u003e div.login-content\n \u003e div.login-panel\n \u003e div.login-form\n \u003e div\n \u003e div\n \u003e button {\n box-shadow: none !important;\n border-radius: 10px !important;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n border: 1px solid #eee !important;\n }\n\n @media (max-width: 640px) {\n .login-panel {\n padding: 40px 0 0 0;\n box-shadow: none;\n }\n }\n\u003c/style\u003e",
367
+ "formCssMobile": "\u003cstyle\u003e\n .login-panel {\n padding: 40px 70px 0 70px;\n border-radius: 10px;\n background-color: #ffffff;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n }\n .panel-logo {\n width: 64px;\n }\n .login-logo-box {\n margin-top: 20px;\n }\n\n #parent-area\n \u003e main\n \u003e div\n \u003e div.login-content\n \u003e div.login-panel\n \u003e div.login-form\n \u003e div\n \u003e div\n \u003e button {\n box-shadow: none !important;\n border-radius: 10px !important;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n border: 1px solid #eee !important;\n }\n\n @media (max-width: 640px) {\n .login-panel {\n padding: 40px 0 0 0;\n box-shadow: none;\n }\n }\n\u003c/style\u003e",
368
+ "formOffset": 2,
369
+ "formSideHtml": "",
370
+ "formBackgroundUrl": "",
371
+ "formBackgroundUrlMobile": "",
372
+ "failedSigninLimit": 5,
373
+ "failedSigninFrozenTime": 15
374
+ },
375
+ {
376
+ "owner": "admin",
377
+ "name": "app-built-in",
378
+ "createdTime": "2025-08-11T08:43:23Z",
379
+ "displayName": "Casdoor",
380
+ "logo": "https://cdn.casbin.org/img/casdoor-logo_1185x256.png",
381
+ "homepageUrl": "https://casdoor.org",
382
+ "description": "",
383
+ "organization": "built-in",
384
+ "cert": "cert-built-in",
385
+ "defaultGroup": "",
386
+ "headerHtml": "",
387
+ "enablePassword": true,
388
+ "enableSignUp": true,
389
+ "disableSignin": false,
390
+ "enableSigninSession": false,
391
+ "enableAutoSignin": false,
392
+ "enableCodeSignin": false,
393
+ "enableSamlCompress": false,
394
+ "enableSamlC14n10": false,
395
+ "enableSamlPostBinding": false,
396
+ "useEmailAsSamlNameId": false,
397
+ "enableWebAuthn": false,
398
+ "enableLinkWithEmail": false,
399
+ "orgChoiceMode": "",
400
+ "samlReplyUrl": "",
401
+ "providers": [
240
402
  {
241
- "name": "Education",
242
- "visible": true,
243
- "viewRule": "Public",
244
- "modifyRule": "Admin",
245
- "regex": ""
403
+ "owner": "",
404
+ "name": "provider_captcha_default",
405
+ "canSignUp": false,
406
+ "canSignIn": false,
407
+ "canUnlink": false,
408
+ "countryCodes": null,
409
+ "prompted": false,
410
+ "signupGroup": "",
411
+ "rule": "None",
412
+ "provider": null
413
+ }
414
+ ],
415
+ "signinMethods": [
416
+ {
417
+ "name": "Password",
418
+ "displayName": "Password",
419
+ "rule": "All"
246
420
  },
247
421
  {
248
- "name": "Score",
249
- "visible": true,
250
- "viewRule": "Public",
251
- "modifyRule": "Admin",
252
- "regex": ""
422
+ "name": "Verification code",
423
+ "displayName": "Verification code",
424
+ "rule": "All"
253
425
  },
254
426
  {
255
- "name": "Karma",
427
+ "name": "WebAuthn",
428
+ "displayName": "WebAuthn",
429
+ "rule": "None"
430
+ },
431
+ {
432
+ "name": "Face ID",
433
+ "displayName": "Face ID",
434
+ "rule": "None"
435
+ }
436
+ ],
437
+ "signupItems": [
438
+ {
439
+ "name": "ID",
440
+ "visible": false,
441
+ "required": true,
442
+ "prompted": false,
443
+ "type": "",
444
+ "customCss": "",
445
+ "label": "",
446
+ "placeholder": "",
447
+ "options": null,
448
+ "regex": "",
449
+ "rule": "Random"
450
+ },
451
+ {
452
+ "name": "Username",
256
453
  "visible": true,
257
- "viewRule": "Public",
258
- "modifyRule": "Admin",
259
- "regex": ""
454
+ "required": true,
455
+ "prompted": false,
456
+ "type": "",
457
+ "customCss": "",
458
+ "label": "",
459
+ "placeholder": "",
460
+ "options": null,
461
+ "regex": "",
462
+ "rule": "None"
260
463
  },
261
464
  {
262
- "name": "Ranking",
465
+ "name": "Display name",
263
466
  "visible": true,
264
- "viewRule": "Public",
265
- "modifyRule": "Admin",
266
- "regex": ""
467
+ "required": true,
468
+ "prompted": false,
469
+ "type": "",
470
+ "customCss": "",
471
+ "label": "",
472
+ "placeholder": "",
473
+ "options": null,
474
+ "regex": "",
475
+ "rule": "None"
267
476
  },
268
477
  {
269
- "name": "Signup application",
478
+ "name": "Password",
270
479
  "visible": true,
271
- "viewRule": "Public",
272
- "modifyRule": "Admin",
273
- "regex": ""
480
+ "required": true,
481
+ "prompted": false,
482
+ "type": "",
483
+ "customCss": "",
484
+ "label": "",
485
+ "placeholder": "",
486
+ "options": null,
487
+ "regex": "",
488
+ "rule": "None"
274
489
  },
275
490
  {
276
- "name": "API key",
277
- "visible": false,
278
- "viewRule": "",
279
- "modifyRule": "Self",
280
- "regex": ""
491
+ "name": "Confirm password",
492
+ "visible": true,
493
+ "required": true,
494
+ "prompted": false,
495
+ "type": "",
496
+ "customCss": "",
497
+ "label": "",
498
+ "placeholder": "",
499
+ "options": null,
500
+ "regex": "",
501
+ "rule": "None"
281
502
  },
282
503
  {
283
- "name": "Groups",
504
+ "name": "Email",
284
505
  "visible": true,
285
- "viewRule": "Public",
286
- "modifyRule": "Admin",
287
- "regex": ""
506
+ "required": true,
507
+ "prompted": false,
508
+ "type": "",
509
+ "customCss": "",
510
+ "label": "",
511
+ "placeholder": "",
512
+ "options": null,
513
+ "regex": "",
514
+ "rule": "Normal"
288
515
  },
289
516
  {
290
- "name": "Roles",
517
+ "name": "Phone",
291
518
  "visible": true,
292
- "viewRule": "Public",
293
- "modifyRule": "Immutable",
294
- "regex": ""
519
+ "required": true,
520
+ "prompted": false,
521
+ "type": "",
522
+ "customCss": "",
523
+ "label": "",
524
+ "placeholder": "",
525
+ "options": null,
526
+ "regex": "",
527
+ "rule": "None"
295
528
  },
296
529
  {
297
- "name": "Permissions",
530
+ "name": "Agreement",
531
+ "visible": true,
532
+ "required": true,
533
+ "prompted": false,
534
+ "type": "",
535
+ "customCss": "",
536
+ "label": "",
537
+ "placeholder": "",
538
+ "options": null,
539
+ "regex": "",
540
+ "rule": "None"
541
+ }
542
+ ],
543
+ "signinItems": null,
544
+ "grantTypes": null,
545
+ "organizationObj": null,
546
+ "certPublicKey": "",
547
+ "tags": [],
548
+ "samlAttributes": null,
549
+ "isShared": false,
550
+ "ipRestriction": "",
551
+ "clientId": "45f13635c08f7bdb97e4",
552
+ "clientSecret": "fc76d8be000bc358c83712f6598754e054969994",
553
+ "redirectUris": [],
554
+ "forcedRedirectOrigin": "",
555
+ "tokenFormat": "JWT",
556
+ "tokenSigningMethod": "",
557
+ "tokenFields": [],
558
+ "expireInHours": 168,
559
+ "refreshExpireInHours": 0,
560
+ "signupUrl": "",
561
+ "signinUrl": "",
562
+ "forgetUrl": "",
563
+ "affiliationUrl": "",
564
+ "ipWhitelist": "",
565
+ "termsOfUse": "",
566
+ "signupHtml": "",
567
+ "signinHtml": "",
568
+ "themeData": null,
569
+ "footerHtml": "",
570
+ "formCss": "",
571
+ "formCssMobile": "",
572
+ "formOffset": 2,
573
+ "formSideHtml": "",
574
+ "formBackgroundUrl": "",
575
+ "formBackgroundUrlMobile": "",
576
+ "failedSigninLimit": 0,
577
+ "failedSigninFrozenTime": 0
578
+ }
579
+ ],
580
+ "certs": [
581
+ {
582
+ "owner": "admin",
583
+ "name": "cert-built-in",
584
+ "createdTime": "2025-08-11T08:43:23Z",
585
+ "displayName": "Built-in Cert",
586
+ "scope": "JWT",
587
+ "type": "x509",
588
+ "cryptoAlgorithm": "RS256",
589
+ "bitSize": 4096,
590
+ "expireInYears": 20,
591
+ "certificate": "-----BEGIN CERTIFICATE-----\nMIIE3TCCAsWgAwIBAgIDAeJAMA0GCSqGSIb3DQEBCwUAMCgxDjAMBgNVBAoTBWFk\nbWluMRYwFAYDVQQDEw1jZXJ0LWJ1aWx0LWluMB4XDTI1MDgxMTA4NDMyNVoXDTQ1\nMDgxMTA4NDMyNVowKDEOMAwGA1UEChMFYWRtaW4xFjAUBgNVBAMTDWNlcnQtYnVp\nbHQtaW4wggIiMA0GCSqGSIb3DQEBAQ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KHKBhHW3lTpj9phOpy5JY+C03m4tmyP\nuxmPQh79QUQSw8FWfrQjAt0U1Na9J5l83Eba87HowlVSXzYNhCXtikVcFifo0k4m\nR1RcA7Jgq5F6z7smVn3x5NOojVXG2BeRAoIBACUR3J+O9Cwp+2wDNouD/yWbOcPp\nqtcXvqRFgDppUEafbOZ9CP9NLhpM+/4rdMsA5aeh1Jn6mVbkz83Ikz4iU4PCHLrM\n8vhZz/jrYqLUKaKNuCOy+RDdjAyvXK0cq403NxFojea9xxzMQ4xENvuxRTZaAUt+\ng88oX9iI72l1uo31gLoB7o/zIRKVLyYvZa4oyCggPoPGTyhkSj+P8tCYTKQkIxdf\nX+HYxqMrxlY0c1dUJSo3XcW6l4OfHa6jSmyC0EsedQyttICvxfjGcjTlR/rFe/pK\nW0ifC3i5RCsqcwP7dciPGvaI8o5+w0+n7kykrYinTQ1uF2kU7Zu3VpEVVF0=\n-----END RSA PRIVATE KEY-----\n"
593
+ }
594
+ ],
595
+ "enforcers": [
596
+ {
597
+ "owner": "built-in",
598
+ "name": "api-enforcer-built-in",
599
+ "createdTime": "2025-08-11T08:43:25Z",
600
+ "updatedTime": "2025-08-11 08:43:25",
601
+ "displayName": "API Enforcer",
602
+ "description": "",
603
+ "model": "built-in/api-model-built-in",
604
+ "adapter": "built-in/api-adapter-built-in",
605
+ "modelCfg": null
606
+ },
607
+ {
608
+ "owner": "built-in",
609
+ "name": "user-enforcer-built-in",
610
+ "createdTime": "2025-08-11T08:43:25Z",
611
+ "updatedTime": "2025-08-11 08:43:25",
612
+ "displayName": "User Enforcer",
613
+ "description": "",
614
+ "model": "built-in/user-model-built-in",
615
+ "adapter": "built-in/user-adapter-built-in",
616
+ "modelCfg": null
617
+ }
618
+ ],
619
+ "groups": [],
620
+ "invitations": [],
621
+ "ldaps": [
622
+ {
623
+ "id": "ldap-built-in",
624
+ "owner": "built-in",
625
+ "createdTime": "2025-08-11T08:43:25Z",
626
+ "serverName": "BuildIn LDAP Server",
627
+ "host": "example.com",
628
+ "port": 389,
629
+ "enableSsl": false,
630
+ "allowSelfSignedCert": false,
631
+ "username": "cn=buildin,dc=example,dc=com",
632
+ "password": "123",
633
+ "baseDn": "ou=BuildIn,dc=example,dc=com",
634
+ "filter": "",
635
+ "filterFields": null,
636
+ "defaultGroup": "",
637
+ "passwordType": "",
638
+ "autoSync": 0,
639
+ "lastSync": ""
640
+ }
641
+ ],
642
+ "models": [
643
+ {
644
+ "owner": "built-in",
645
+ "name": "api-model-built-in",
646
+ "createdTime": "2025-08-11T08:43:25Z",
647
+ "displayName": "API Model",
648
+ "description": "",
649
+ "modelText": "[request_definition]\nr = subOwner, subName, method, urlPath, objOwner, objName\n\n[policy_definition]\np = subOwner, subName, method, urlPath, objOwner, objName\n\n[role_definition]\ng = _, _\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = (r.subOwner == p.subOwner || p.subOwner == \"*\") \u0026\u0026 \\\n (r.subName == p.subName || p.subName == \"*\" || r.subName != \"anonymous\" \u0026\u0026 p.subName == \"!anonymous\") \u0026\u0026 \\\n (r.method == p.method || p.method == \"*\") \u0026\u0026 \\\n (r.urlPath == p.urlPath || p.urlPath == \"*\") \u0026\u0026 \\\n (r.objOwner == p.objOwner || p.objOwner == \"*\") \u0026\u0026 \\\n (r.objName == p.objName || p.objName == \"*\") || \\\n (r.subOwner == r.objOwner \u0026\u0026 r.subName == r.objName)"
650
+ },
651
+ {
652
+ "owner": "built-in",
653
+ "name": "user-model-built-in",
654
+ "createdTime": "2025-08-11T08:43:25Z",
655
+ "displayName": "Built-in Model",
656
+ "description": "",
657
+ "modelText": "[request_definition]\nr = sub, obj, act\n\n[policy_definition]\np = sub, obj, act\n\n[role_definition]\ng = _, _\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = g(r.sub, p.sub) \u0026\u0026 r.obj == p.obj \u0026\u0026 r.act == p.act"
658
+ }
659
+ ],
660
+ "organizations": [
661
+ {
662
+ "owner": "admin",
663
+ "name": "lobechat",
664
+ "createdTime": "2025-08-11T16:57:04+08:00",
665
+ "displayName": "LobeChat",
666
+ "websiteUrl": "https://lobehub.com",
667
+ "logo": "https://lobehub.com/icon-192x192.png",
668
+ "logoDark": "",
669
+ "favicon": "https://lobehub.com/favicon.ico",
670
+ "hasPrivilegeConsent": false,
671
+ "passwordType": "plain",
672
+ "passwordSalt": "",
673
+ "passwordOptions": ["AtLeast6"],
674
+ "passwordObfuscatorType": "Plain",
675
+ "passwordObfuscatorKey": "",
676
+ "passwordExpireDays": 0,
677
+ "countryCodes": ["US"],
678
+ "defaultAvatar": "https://lobehub.com/favicon.ico",
679
+ "defaultApplication": "",
680
+ "userTypes": null,
681
+ "tags": [],
682
+ "languages": [
683
+ "en",
684
+ "es",
685
+ "fr",
686
+ "de",
687
+ "zh",
688
+ "id",
689
+ "ja",
690
+ "ko",
691
+ "ru",
692
+ "vi",
693
+ "pt",
694
+ "it",
695
+ "ms",
696
+ "tr",
697
+ "ar",
698
+ "he",
699
+ "nl",
700
+ "pl",
701
+ "fi",
702
+ "sv",
703
+ "uk",
704
+ "kk",
705
+ "fa",
706
+ "cs",
707
+ "sk"
708
+ ],
709
+ "themeData": null,
710
+ "masterPassword": "",
711
+ "defaultPassword": "",
712
+ "masterVerificationCode": "",
713
+ "ipWhitelist": "",
714
+ "initScore": 0,
715
+ "enableSoftDeletion": false,
716
+ "isProfilePublic": true,
717
+ "useEmailAsUsername": false,
718
+ "enableTour": true,
719
+ "disableSignin": false,
720
+ "ipRestriction": "",
721
+ "navItems": null,
722
+ "widgetItems": null,
723
+ "mfaItems": null,
724
+ "mfaRememberInHours": 12,
725
+ "accountItems": [
726
+ {
727
+ "name": "Organization",
298
728
  "visible": true,
299
729
  "viewRule": "Public",
300
- "modifyRule": "Immutable",
730
+ "modifyRule": "Admin",
301
731
  "regex": ""
302
732
  },
303
733
  {
304
- "name": "3rd-party logins",
734
+ "name": "ID",
305
735
  "visible": true,
306
- "viewRule": "Self",
307
- "modifyRule": "Self",
736
+ "viewRule": "Public",
737
+ "modifyRule": "Immutable",
308
738
  "regex": ""
309
739
  },
310
740
  {
311
- "name": "Properties",
312
- "visible": false,
313
- "viewRule": "Admin",
741
+ "name": "Name",
742
+ "visible": true,
743
+ "viewRule": "Public",
314
744
  "modifyRule": "Admin",
315
745
  "regex": ""
316
746
  },
317
747
  {
318
- "name": "Is online",
748
+ "name": "Display name",
319
749
  "visible": true,
320
- "viewRule": "Admin",
321
- "modifyRule": "Admin",
750
+ "viewRule": "Public",
751
+ "modifyRule": "Self",
322
752
  "regex": ""
323
753
  },
324
754
  {
325
- "name": "Is admin",
755
+ "name": "Avatar",
326
756
  "visible": true,
327
- "viewRule": "Admin",
328
- "modifyRule": "Admin",
757
+ "viewRule": "Public",
758
+ "modifyRule": "Self",
329
759
  "regex": ""
330
760
  },
331
761
  {
332
- "name": "Is forbidden",
762
+ "name": "User type",
333
763
  "visible": true,
334
- "viewRule": "Admin",
764
+ "viewRule": "Public",
335
765
  "modifyRule": "Admin",
336
766
  "regex": ""
337
767
  },
338
768
  {
339
- "name": "Is deleted",
769
+ "name": "Password",
340
770
  "visible": true,
341
- "viewRule": "Admin",
342
- "modifyRule": "Admin",
771
+ "viewRule": "Self",
772
+ "modifyRule": "Self",
343
773
  "regex": ""
344
774
  },
345
775
  {
346
- "name": "Multi-factor authentication",
776
+ "name": "Email",
347
777
  "visible": true,
348
- "viewRule": "Self",
778
+ "viewRule": "Public",
349
779
  "modifyRule": "Self",
350
780
  "regex": ""
351
781
  },
352
782
  {
353
- "name": "WebAuthn credentials",
783
+ "name": "Phone",
354
784
  "visible": true,
355
- "viewRule": "Self",
785
+ "viewRule": "Public",
356
786
  "modifyRule": "Self",
357
787
  "regex": ""
358
788
  },
359
789
  {
360
- "name": "Managed accounts",
790
+ "name": "Country code",
361
791
  "visible": true,
362
- "viewRule": "Self",
792
+ "viewRule": "Public",
363
793
  "modifyRule": "Self",
364
794
  "regex": ""
365
795
  },
366
796
  {
367
- "name": "MFA accounts",
797
+ "name": "Country/Region",
368
798
  "visible": true,
369
- "viewRule": "Self",
799
+ "viewRule": "Public",
370
800
  "modifyRule": "Self",
371
801
  "regex": ""
372
- }
373
- ]
374
- },
375
- {
376
- "owner": "admin",
377
- "name": "built-in",
378
- "createdTime": "2025-08-11T08:43:22Z",
379
- "displayName": "Built-in Organization",
380
- "websiteUrl": "https://example.com",
381
- "logo": "",
382
- "logoDark": "",
383
- "favicon": "https://cdn.casbin.org/img/casbin/favicon.ico",
384
- "hasPrivilegeConsent": false,
385
- "passwordType": "plain",
386
- "passwordSalt": "",
387
- "passwordOptions": [
388
- "AtLeast6"
389
- ],
390
- "passwordObfuscatorType": "",
391
- "passwordObfuscatorKey": "",
392
- "passwordExpireDays": 0,
393
- "countryCodes": [
394
- "US",
395
- "ES",
396
- "FR",
397
- "DE",
398
- "GB",
399
- "CN",
400
- "JP",
401
- "KR",
402
- "VN",
403
- "ID",
404
- "SG",
405
- "IN"
406
- ],
407
- "defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
408
- "defaultApplication": "",
409
- "userTypes": [],
410
- "tags": [],
411
- "languages": [
412
- "en",
413
- "zh",
414
- "es",
415
- "fr",
416
- "de",
417
- "id",
418
- "ja",
419
- "ko",
420
- "ru",
421
- "vi",
422
- "pt"
423
- ],
424
- "themeData": null,
425
- "masterPassword": "",
426
- "defaultPassword": "",
427
- "masterVerificationCode": "",
428
- "ipWhitelist": "",
429
- "initScore": 2000,
430
- "enableSoftDeletion": false,
431
- "isProfilePublic": false,
432
- "useEmailAsUsername": false,
433
- "enableTour": true,
434
- "disableSignin": false,
435
- "ipRestriction": "",
436
- "navItems": null,
437
- "widgetItems": null,
438
- "mfaItems": null,
439
- "mfaRememberInHours": 0,
440
- "accountItems": [
802
+ },
441
803
  {
442
- "name": "Organization",
804
+ "name": "Location",
443
805
  "visible": true,
444
806
  "viewRule": "Public",
445
- "modifyRule": "Admin",
807
+ "modifyRule": "Self",
446
808
  "regex": ""
447
809
  },
448
810
  {
449
- "name": "ID",
811
+ "name": "Address",
450
812
  "visible": true,
451
813
  "viewRule": "Public",
452
- "modifyRule": "Immutable",
814
+ "modifyRule": "Self",
453
815
  "regex": ""
454
816
  },
455
817
  {
456
- "name": "Name",
818
+ "name": "Affiliation",
457
819
  "visible": true,
458
820
  "viewRule": "Public",
459
- "modifyRule": "Admin",
821
+ "modifyRule": "Self",
460
822
  "regex": ""
461
823
  },
462
824
  {
463
- "name": "Display name",
825
+ "name": "Title",
464
826
  "visible": true,
465
827
  "viewRule": "Public",
466
828
  "modifyRule": "Self",
467
829
  "regex": ""
468
830
  },
469
831
  {
470
- "name": "Avatar",
832
+ "name": "ID card type",
471
833
  "visible": true,
472
834
  "viewRule": "Public",
473
835
  "modifyRule": "Self",
474
836
  "regex": ""
475
837
  },
476
838
  {
477
- "name": "User type",
839
+ "name": "ID card",
478
840
  "visible": true,
479
841
  "viewRule": "Public",
480
- "modifyRule": "Admin",
842
+ "modifyRule": "Self",
481
843
  "regex": ""
482
844
  },
483
845
  {
484
- "name": "Password",
846
+ "name": "ID card info",
485
847
  "visible": true,
486
- "viewRule": "Self",
848
+ "viewRule": "Public",
487
849
  "modifyRule": "Self",
488
850
  "regex": ""
489
851
  },
490
852
  {
491
- "name": "Email",
853
+ "name": "Homepage",
492
854
  "visible": true,
493
855
  "viewRule": "Public",
494
856
  "modifyRule": "Self",
495
857
  "regex": ""
496
858
  },
497
859
  {
498
- "name": "Phone",
860
+ "name": "Bio",
499
861
  "visible": true,
500
862
  "viewRule": "Public",
501
863
  "modifyRule": "Self",
502
864
  "regex": ""
503
865
  },
504
866
  {
505
- "name": "Country code",
867
+ "name": "Tag",
506
868
  "visible": true,
507
869
  "viewRule": "Public",
508
870
  "modifyRule": "Admin",
509
871
  "regex": ""
510
872
  },
511
873
  {
512
- "name": "Country/Region",
874
+ "name": "Language",
513
875
  "visible": true,
514
876
  "viewRule": "Public",
515
- "modifyRule": "Self",
877
+ "modifyRule": "Admin",
516
878
  "regex": ""
517
879
  },
518
880
  {
519
- "name": "Location",
881
+ "name": "Gender",
520
882
  "visible": true,
521
883
  "viewRule": "Public",
522
- "modifyRule": "Self",
884
+ "modifyRule": "Admin",
523
885
  "regex": ""
524
886
  },
525
887
  {
526
- "name": "Affiliation",
888
+ "name": "Birthday",
527
889
  "visible": true,
528
890
  "viewRule": "Public",
529
- "modifyRule": "Self",
891
+ "modifyRule": "Admin",
530
892
  "regex": ""
531
893
  },
532
894
  {
533
- "name": "Title",
895
+ "name": "Education",
534
896
  "visible": true,
535
897
  "viewRule": "Public",
536
- "modifyRule": "Self",
898
+ "modifyRule": "Admin",
537
899
  "regex": ""
538
900
  },
539
901
  {
540
- "name": "Homepage",
902
+ "name": "Score",
541
903
  "visible": true,
542
904
  "viewRule": "Public",
543
- "modifyRule": "Self",
905
+ "modifyRule": "Admin",
544
906
  "regex": ""
545
907
  },
546
908
  {
547
- "name": "Bio",
909
+ "name": "Karma",
548
910
  "visible": true,
549
911
  "viewRule": "Public",
550
- "modifyRule": "Self",
912
+ "modifyRule": "Admin",
551
913
  "regex": ""
552
914
  },
553
915
  {
554
- "name": "Tag",
916
+ "name": "Ranking",
555
917
  "visible": true,
556
918
  "viewRule": "Public",
557
919
  "modifyRule": "Admin",
@@ -565,24 +927,31 @@
565
927
  "regex": ""
566
928
  },
567
929
  {
568
- "name": "Roles",
930
+ "name": "API key",
931
+ "visible": false,
932
+ "viewRule": "",
933
+ "modifyRule": "Self",
934
+ "regex": ""
935
+ },
936
+ {
937
+ "name": "Groups",
569
938
  "visible": true,
570
939
  "viewRule": "Public",
571
- "modifyRule": "Immutable",
940
+ "modifyRule": "Admin",
572
941
  "regex": ""
573
942
  },
574
943
  {
575
- "name": "Permissions",
944
+ "name": "Roles",
576
945
  "visible": true,
577
946
  "viewRule": "Public",
578
947
  "modifyRule": "Immutable",
579
948
  "regex": ""
580
949
  },
581
950
  {
582
- "name": "Groups",
951
+ "name": "Permissions",
583
952
  "visible": true,
584
953
  "viewRule": "Public",
585
- "modifyRule": "Admin",
954
+ "modifyRule": "Immutable",
586
955
  "regex": ""
587
956
  },
588
957
  {
@@ -594,6 +963,13 @@
594
963
  },
595
964
  {
596
965
  "name": "Properties",
966
+ "visible": false,
967
+ "viewRule": "Admin",
968
+ "modifyRule": "Admin",
969
+ "regex": ""
970
+ },
971
+ {
972
+ "name": "Is online",
597
973
  "visible": true,
598
974
  "viewRule": "Admin",
599
975
  "modifyRule": "Admin",
@@ -642,563 +1018,347 @@
642
1018
  "regex": ""
643
1019
  },
644
1020
  {
645
- "name": "MFA accounts",
646
- "visible": true,
647
- "viewRule": "Self",
648
- "modifyRule": "Self",
649
- "regex": ""
650
- }
651
- ]
652
- }
653
- ],
654
- "applications": [
655
- {
656
- "owner": "admin",
657
- "name": "lobechat",
658
- "createdTime": "2025-08-11T17:06:30+08:00",
659
- "displayName": "LobeChat",
660
- "logo": "https://lobehub.com/icon-192x192.png",
661
- "homepageUrl": "https://lobehub.com",
662
- "description": "",
663
- "organization": "lobechat",
664
- "cert": "cert-built-in",
665
- "defaultGroup": "",
666
- "headerHtml": "",
667
- "enablePassword": true,
668
- "enableSignUp": false,
669
- "disableSignin": false,
670
- "enableSigninSession": false,
671
- "enableAutoSignin": false,
672
- "enableCodeSignin": false,
673
- "enableSamlCompress": false,
674
- "enableSamlC14n10": false,
675
- "enableSamlPostBinding": false,
676
- "useEmailAsSamlNameId": false,
677
- "enableWebAuthn": false,
678
- "enableLinkWithEmail": false,
679
- "orgChoiceMode": "",
680
- "samlReplyUrl": "",
681
- "providers": [
682
- {
683
- "owner": "",
684
- "name": "provider_captcha_default",
685
- "canSignUp": false,
686
- "canSignIn": false,
687
- "canUnlink": false,
688
- "countryCodes": null,
689
- "prompted": false,
690
- "signupGroup": "",
691
- "rule": "",
692
- "provider": null
693
- }
694
- ],
695
- "signinMethods": [
696
- {
697
- "name": "Password",
698
- "displayName": "Password",
699
- "rule": "All"
700
- },
701
- {
702
- "name": "Verification code",
703
- "displayName": "Verification code",
704
- "rule": "All"
705
- },
706
- {
707
- "name": "WebAuthn",
708
- "displayName": "WebAuthn",
709
- "rule": "None"
710
- },
711
- {
712
- "name": "Face ID",
713
- "displayName": "Face ID",
714
- "rule": "None"
715
- }
716
- ],
717
- "signupItems": [
718
- {
719
- "name": "ID",
720
- "visible": false,
721
- "required": true,
722
- "prompted": false,
723
- "type": "",
724
- "customCss": "",
725
- "label": "",
726
- "placeholder": "",
727
- "options": null,
728
- "regex": "",
729
- "rule": "Random"
730
- },
731
- {
732
- "name": "Username",
733
- "visible": true,
734
- "required": true,
735
- "prompted": false,
736
- "type": "",
737
- "customCss": "",
738
- "label": "",
739
- "placeholder": "",
740
- "options": null,
741
- "regex": "",
742
- "rule": "None"
743
- },
744
- {
745
- "name": "Display name",
746
- "visible": true,
747
- "required": true,
748
- "prompted": false,
749
- "type": "",
750
- "customCss": "",
751
- "label": "",
752
- "placeholder": "",
753
- "options": null,
754
- "regex": "",
755
- "rule": "None"
756
- },
757
- {
758
- "name": "Password",
759
- "visible": true,
760
- "required": true,
761
- "prompted": false,
762
- "type": "",
763
- "customCss": "",
764
- "label": "",
765
- "placeholder": "",
766
- "options": null,
767
- "regex": "",
768
- "rule": "None"
769
- },
770
- {
771
- "name": "Confirm password",
772
- "visible": true,
773
- "required": true,
774
- "prompted": false,
775
- "type": "",
776
- "customCss": "",
777
- "label": "",
778
- "placeholder": "",
779
- "options": null,
780
- "regex": "",
781
- "rule": "None"
782
- },
783
- {
784
- "name": "Email",
785
- "visible": true,
786
- "required": true,
787
- "prompted": false,
788
- "type": "",
789
- "customCss": "",
790
- "label": "",
791
- "placeholder": "",
792
- "options": null,
793
- "regex": "",
794
- "rule": "Normal"
795
- },
796
- {
797
- "name": "Phone",
798
- "visible": true,
799
- "required": true,
800
- "prompted": false,
801
- "type": "",
802
- "customCss": "",
803
- "label": "",
804
- "placeholder": "",
805
- "options": null,
806
- "regex": "",
807
- "rule": "None"
808
- },
809
- {
810
- "name": "Agreement",
811
- "visible": true,
812
- "required": true,
813
- "prompted": false,
814
- "type": "",
815
- "customCss": "",
816
- "label": "",
817
- "placeholder": "",
818
- "options": null,
819
- "regex": "",
820
- "rule": "None"
821
- },
822
- {
823
- "name": "Signup button",
1021
+ "name": "MFA accounts",
824
1022
  "visible": true,
825
- "required": true,
826
- "prompted": false,
827
- "type": "",
828
- "customCss": "",
829
- "label": "",
830
- "placeholder": "",
831
- "options": null,
832
- "regex": "",
833
- "rule": "None"
834
- },
1023
+ "viewRule": "Self",
1024
+ "modifyRule": "Self",
1025
+ "regex": ""
1026
+ }
1027
+ ]
1028
+ },
1029
+ {
1030
+ "owner": "admin",
1031
+ "name": "built-in",
1032
+ "createdTime": "2025-08-11T08:43:22Z",
1033
+ "displayName": "Built-in Organization",
1034
+ "websiteUrl": "https://example.com",
1035
+ "logo": "",
1036
+ "logoDark": "",
1037
+ "favicon": "https://cdn.casbin.org/img/casbin/favicon.ico",
1038
+ "hasPrivilegeConsent": false,
1039
+ "passwordType": "plain",
1040
+ "passwordSalt": "",
1041
+ "passwordOptions": ["AtLeast6"],
1042
+ "passwordObfuscatorType": "",
1043
+ "passwordObfuscatorKey": "",
1044
+ "passwordExpireDays": 0,
1045
+ "countryCodes": ["US", "ES", "FR", "DE", "GB", "CN", "JP", "KR", "VN", "ID", "SG", "IN"],
1046
+ "defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
1047
+ "defaultApplication": "",
1048
+ "userTypes": [],
1049
+ "tags": [],
1050
+ "languages": ["en", "zh", "es", "fr", "de", "id", "ja", "ko", "ru", "vi", "pt"],
1051
+ "themeData": null,
1052
+ "masterPassword": "",
1053
+ "defaultPassword": "",
1054
+ "masterVerificationCode": "",
1055
+ "ipWhitelist": "",
1056
+ "initScore": 2000,
1057
+ "enableSoftDeletion": false,
1058
+ "isProfilePublic": false,
1059
+ "useEmailAsUsername": false,
1060
+ "enableTour": true,
1061
+ "disableSignin": false,
1062
+ "ipRestriction": "",
1063
+ "navItems": null,
1064
+ "widgetItems": null,
1065
+ "mfaItems": null,
1066
+ "mfaRememberInHours": 0,
1067
+ "accountItems": [
835
1068
  {
836
- "name": "Providers",
1069
+ "name": "Organization",
837
1070
  "visible": true,
838
- "required": true,
839
- "prompted": false,
840
- "type": "",
841
- "customCss": ".provider-img {\n width: 30px;\n margin: 5px;\n }\n .provider-big-img {\n margin-bottom: 10px;\n }\n ",
842
- "label": "",
843
- "placeholder": "",
844
- "options": null,
845
- "regex": "",
846
- "rule": "small"
847
- }
848
- ],
849
- "signinItems": [
1071
+ "viewRule": "Public",
1072
+ "modifyRule": "Admin",
1073
+ "regex": ""
1074
+ },
850
1075
  {
851
- "name": "Back button",
1076
+ "name": "ID",
852
1077
  "visible": true,
853
- "label": "",
854
- "customCss": ".back-button {\n top: 65px;\n left: 15px;\n position: absolute;\n}\n.back-inner-button{}",
855
- "placeholder": "",
856
- "rule": "None",
857
- "isCustom": false
1078
+ "viewRule": "Public",
1079
+ "modifyRule": "Immutable",
1080
+ "regex": ""
858
1081
  },
859
1082
  {
860
- "name": "Languages",
1083
+ "name": "Name",
861
1084
  "visible": true,
862
- "label": "",
863
- "customCss": ".login-languages {\n top: 55px;\n right: 5px;\n position: absolute;\n}",
864
- "placeholder": "",
865
- "rule": "None",
866
- "isCustom": false
1085
+ "viewRule": "Public",
1086
+ "modifyRule": "Admin",
1087
+ "regex": ""
867
1088
  },
868
1089
  {
869
- "name": "Logo",
1090
+ "name": "Display name",
870
1091
  "visible": true,
871
- "label": "",
872
- "customCss": ".login-logo-box {}",
873
- "placeholder": "",
874
- "rule": "None",
875
- "isCustom": false
1092
+ "viewRule": "Public",
1093
+ "modifyRule": "Self",
1094
+ "regex": ""
876
1095
  },
877
1096
  {
878
- "name": "Signin methods",
1097
+ "name": "Avatar",
879
1098
  "visible": true,
880
- "label": "",
881
- "customCss": ".signin-methods {}",
882
- "placeholder": "",
883
- "rule": "None",
884
- "isCustom": false
1099
+ "viewRule": "Public",
1100
+ "modifyRule": "Self",
1101
+ "regex": ""
885
1102
  },
886
1103
  {
887
- "name": "Username",
1104
+ "name": "User type",
888
1105
  "visible": true,
889
- "label": "",
890
- "customCss": ".login-username {}\n.login-username-input{}",
891
- "placeholder": "",
892
- "rule": "None",
893
- "isCustom": false
1106
+ "viewRule": "Public",
1107
+ "modifyRule": "Admin",
1108
+ "regex": ""
894
1109
  },
895
1110
  {
896
1111
  "name": "Password",
897
1112
  "visible": true,
898
- "label": "",
899
- "customCss": ".login-password {}\n.login-password-input{}",
900
- "placeholder": "",
901
- "rule": "None",
902
- "isCustom": false
1113
+ "viewRule": "Self",
1114
+ "modifyRule": "Self",
1115
+ "regex": ""
903
1116
  },
904
1117
  {
905
- "name": "Agreement",
1118
+ "name": "Email",
906
1119
  "visible": true,
907
- "label": "",
908
- "customCss": ".login-agreement {}",
909
- "placeholder": "",
910
- "rule": "None",
911
- "isCustom": false
1120
+ "viewRule": "Public",
1121
+ "modifyRule": "Self",
1122
+ "regex": ""
912
1123
  },
913
1124
  {
914
- "name": "Forgot password?",
1125
+ "name": "Phone",
915
1126
  "visible": true,
916
- "label": "",
917
- "customCss": ".login-forget-password {\n display: inline-flex;\n justify-content: space-between;\n width: 320px;\n margin-bottom: 25px;\n}",
918
- "placeholder": "",
919
- "rule": "None",
920
- "isCustom": false
1127
+ "viewRule": "Public",
1128
+ "modifyRule": "Self",
1129
+ "regex": ""
921
1130
  },
922
1131
  {
923
- "name": "Login button",
1132
+ "name": "Country code",
924
1133
  "visible": true,
925
- "label": "",
926
- "customCss": ".login-button-box {\n margin-bottom: 5px;\n}\n.login-button {\n width: 100%;\n}",
927
- "placeholder": "",
928
- "rule": "None",
929
- "isCustom": false
1134
+ "viewRule": "Public",
1135
+ "modifyRule": "Admin",
1136
+ "regex": ""
930
1137
  },
931
1138
  {
932
- "name": "Signup link",
1139
+ "name": "Country/Region",
933
1140
  "visible": true,
934
- "label": "",
935
- "customCss": ".login-signup-link {\n margin-bottom: 24px;\n display: flex;\n justify-content: end;\n}",
936
- "placeholder": "",
937
- "rule": "None",
938
- "isCustom": false
1141
+ "viewRule": "Public",
1142
+ "modifyRule": "Self",
1143
+ "regex": ""
939
1144
  },
940
1145
  {
941
- "name": "Providers",
1146
+ "name": "Location",
942
1147
  "visible": true,
943
- "label": "",
944
- "customCss": ".provider-img {\n width: 30px;\n margin: 5px;\n}\n.provider-big-img {\n margin-bottom: 10px;\n}",
945
- "placeholder": "",
946
- "rule": "small",
947
- "isCustom": false
948
- }
949
- ],
950
- "grantTypes": [
951
- "authorization_code",
952
- "password",
953
- "client_credentials",
954
- "token",
955
- "id_token",
956
- "refresh_token"
957
- ],
958
- "organizationObj": null,
959
- "certPublicKey": "",
960
- "tags": [],
961
- "samlAttributes": null,
962
- "isShared": false,
963
- "ipRestriction": "",
964
- "clientId": "a387a4892ee19b1a2249",
965
- "clientSecret": "dbf205949d704de81b0b5b3603174e23fbecc354",
966
- "redirectUris": [
967
- "http://localhost:3210/api/auth/callback/casdoor",
968
- "https://localhost:3210/api/auth/callback/casdoor",
969
- "http://example.com/api/auth/callback/casdoor",
970
- "https://example.com/api/auth/callback/casdoor"
971
- ],
972
- "forcedRedirectOrigin": "",
973
- "tokenFormat": "JWT",
974
- "tokenSigningMethod": "",
975
- "tokenFields": [],
976
- "expireInHours": 168,
977
- "refreshExpireInHours": 168,
978
- "signupUrl": "",
979
- "signinUrl": "",
980
- "forgetUrl": "",
981
- "affiliationUrl": "",
982
- "ipWhitelist": "",
983
- "termsOfUse": "",
984
- "signupHtml": "",
985
- "signinHtml": "",
986
- "themeData": null,
987
- "footerHtml": "",
988
- "formCss": "\u003cstyle\u003e\n .login-panel {\n padding: 40px 70px 0 70px;\n border-radius: 10px;\n background-color: #ffffff;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n }\n .panel-logo {\n width: 64px;\n }\n .login-logo-box {\n margin-top: 20px;\n }\n\n #parent-area\n \u003e main\n \u003e div\n \u003e div.login-content\n \u003e div.login-panel\n \u003e div.login-form\n \u003e div\n \u003e div\n \u003e button {\n box-shadow: none !important;\n border-radius: 10px !important;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n border: 1px solid #eee !important;\n }\n\n @media (max-width: 640px) {\n .login-panel {\n padding: 40px 0 0 0;\n box-shadow: none;\n }\n }\n\u003c/style\u003e",
989
- "formCssMobile": "\u003cstyle\u003e\n .login-panel {\n padding: 40px 70px 0 70px;\n border-radius: 10px;\n background-color: #ffffff;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n }\n .panel-logo {\n width: 64px;\n }\n .login-logo-box {\n margin-top: 20px;\n }\n\n #parent-area\n \u003e main\n \u003e div\n \u003e div.login-content\n \u003e div.login-panel\n \u003e div.login-form\n \u003e div\n \u003e div\n \u003e button {\n box-shadow: none !important;\n border-radius: 10px !important;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n border: 1px solid #eee !important;\n }\n\n @media (max-width: 640px) {\n .login-panel {\n padding: 40px 0 0 0;\n box-shadow: none;\n }\n }\n\u003c/style\u003e",
990
- "formOffset": 2,
991
- "formSideHtml": "",
992
- "formBackgroundUrl": "",
993
- "formBackgroundUrlMobile": "",
994
- "failedSigninLimit": 5,
995
- "failedSigninFrozenTime": 15
996
- },
997
- {
998
- "owner": "admin",
999
- "name": "app-built-in",
1000
- "createdTime": "2025-08-11T08:43:23Z",
1001
- "displayName": "Casdoor",
1002
- "logo": "https://cdn.casbin.org/img/casdoor-logo_1185x256.png",
1003
- "homepageUrl": "https://casdoor.org",
1004
- "description": "",
1005
- "organization": "built-in",
1006
- "cert": "cert-built-in",
1007
- "defaultGroup": "",
1008
- "headerHtml": "",
1009
- "enablePassword": true,
1010
- "enableSignUp": true,
1011
- "disableSignin": false,
1012
- "enableSigninSession": false,
1013
- "enableAutoSignin": false,
1014
- "enableCodeSignin": false,
1015
- "enableSamlCompress": false,
1016
- "enableSamlC14n10": false,
1017
- "enableSamlPostBinding": false,
1018
- "useEmailAsSamlNameId": false,
1019
- "enableWebAuthn": false,
1020
- "enableLinkWithEmail": false,
1021
- "orgChoiceMode": "",
1022
- "samlReplyUrl": "",
1023
- "providers": [
1148
+ "viewRule": "Public",
1149
+ "modifyRule": "Self",
1150
+ "regex": ""
1151
+ },
1024
1152
  {
1025
- "owner": "",
1026
- "name": "provider_captcha_default",
1027
- "canSignUp": false,
1028
- "canSignIn": false,
1029
- "canUnlink": false,
1030
- "countryCodes": null,
1031
- "prompted": false,
1032
- "signupGroup": "",
1033
- "rule": "None",
1034
- "provider": null
1035
- }
1036
- ],
1037
- "signinMethods": [
1153
+ "name": "Affiliation",
1154
+ "visible": true,
1155
+ "viewRule": "Public",
1156
+ "modifyRule": "Self",
1157
+ "regex": ""
1158
+ },
1038
1159
  {
1039
- "name": "Password",
1040
- "displayName": "Password",
1041
- "rule": "All"
1160
+ "name": "Title",
1161
+ "visible": true,
1162
+ "viewRule": "Public",
1163
+ "modifyRule": "Self",
1164
+ "regex": ""
1042
1165
  },
1043
1166
  {
1044
- "name": "Verification code",
1045
- "displayName": "Verification code",
1046
- "rule": "All"
1167
+ "name": "Homepage",
1168
+ "visible": true,
1169
+ "viewRule": "Public",
1170
+ "modifyRule": "Self",
1171
+ "regex": ""
1047
1172
  },
1048
1173
  {
1049
- "name": "WebAuthn",
1050
- "displayName": "WebAuthn",
1051
- "rule": "None"
1174
+ "name": "Bio",
1175
+ "visible": true,
1176
+ "viewRule": "Public",
1177
+ "modifyRule": "Self",
1178
+ "regex": ""
1052
1179
  },
1053
1180
  {
1054
- "name": "Face ID",
1055
- "displayName": "Face ID",
1056
- "rule": "None"
1057
- }
1058
- ],
1059
- "signupItems": [
1181
+ "name": "Tag",
1182
+ "visible": true,
1183
+ "viewRule": "Public",
1184
+ "modifyRule": "Admin",
1185
+ "regex": ""
1186
+ },
1060
1187
  {
1061
- "name": "ID",
1062
- "visible": false,
1063
- "required": true,
1064
- "prompted": false,
1065
- "type": "",
1066
- "customCss": "",
1067
- "label": "",
1068
- "placeholder": "",
1069
- "options": null,
1070
- "regex": "",
1071
- "rule": "Random"
1188
+ "name": "Signup application",
1189
+ "visible": true,
1190
+ "viewRule": "Public",
1191
+ "modifyRule": "Admin",
1192
+ "regex": ""
1072
1193
  },
1073
1194
  {
1074
- "name": "Username",
1195
+ "name": "Roles",
1075
1196
  "visible": true,
1076
- "required": true,
1077
- "prompted": false,
1078
- "type": "",
1079
- "customCss": "",
1080
- "label": "",
1081
- "placeholder": "",
1082
- "options": null,
1083
- "regex": "",
1084
- "rule": "None"
1197
+ "viewRule": "Public",
1198
+ "modifyRule": "Immutable",
1199
+ "regex": ""
1085
1200
  },
1086
1201
  {
1087
- "name": "Display name",
1202
+ "name": "Permissions",
1088
1203
  "visible": true,
1089
- "required": true,
1090
- "prompted": false,
1091
- "type": "",
1092
- "customCss": "",
1093
- "label": "",
1094
- "placeholder": "",
1095
- "options": null,
1096
- "regex": "",
1097
- "rule": "None"
1204
+ "viewRule": "Public",
1205
+ "modifyRule": "Immutable",
1206
+ "regex": ""
1098
1207
  },
1099
1208
  {
1100
- "name": "Password",
1209
+ "name": "Groups",
1101
1210
  "visible": true,
1102
- "required": true,
1103
- "prompted": false,
1104
- "type": "",
1105
- "customCss": "",
1106
- "label": "",
1107
- "placeholder": "",
1108
- "options": null,
1109
- "regex": "",
1110
- "rule": "None"
1211
+ "viewRule": "Public",
1212
+ "modifyRule": "Admin",
1213
+ "regex": ""
1111
1214
  },
1112
1215
  {
1113
- "name": "Confirm password",
1216
+ "name": "3rd-party logins",
1114
1217
  "visible": true,
1115
- "required": true,
1116
- "prompted": false,
1117
- "type": "",
1118
- "customCss": "",
1119
- "label": "",
1120
- "placeholder": "",
1121
- "options": null,
1122
- "regex": "",
1123
- "rule": "None"
1218
+ "viewRule": "Self",
1219
+ "modifyRule": "Self",
1220
+ "regex": ""
1124
1221
  },
1125
1222
  {
1126
- "name": "Email",
1223
+ "name": "Properties",
1127
1224
  "visible": true,
1128
- "required": true,
1129
- "prompted": false,
1130
- "type": "",
1131
- "customCss": "",
1132
- "label": "",
1133
- "placeholder": "",
1134
- "options": null,
1135
- "regex": "",
1136
- "rule": "Normal"
1225
+ "viewRule": "Admin",
1226
+ "modifyRule": "Admin",
1227
+ "regex": ""
1137
1228
  },
1138
1229
  {
1139
- "name": "Phone",
1230
+ "name": "Is admin",
1140
1231
  "visible": true,
1141
- "required": true,
1142
- "prompted": false,
1143
- "type": "",
1144
- "customCss": "",
1145
- "label": "",
1146
- "placeholder": "",
1147
- "options": null,
1148
- "regex": "",
1149
- "rule": "None"
1232
+ "viewRule": "Admin",
1233
+ "modifyRule": "Admin",
1234
+ "regex": ""
1150
1235
  },
1151
1236
  {
1152
- "name": "Agreement",
1237
+ "name": "Is forbidden",
1153
1238
  "visible": true,
1154
- "required": true,
1155
- "prompted": false,
1156
- "type": "",
1157
- "customCss": "",
1158
- "label": "",
1159
- "placeholder": "",
1160
- "options": null,
1161
- "regex": "",
1162
- "rule": "None"
1239
+ "viewRule": "Admin",
1240
+ "modifyRule": "Admin",
1241
+ "regex": ""
1242
+ },
1243
+ {
1244
+ "name": "Is deleted",
1245
+ "visible": true,
1246
+ "viewRule": "Admin",
1247
+ "modifyRule": "Admin",
1248
+ "regex": ""
1249
+ },
1250
+ {
1251
+ "name": "Multi-factor authentication",
1252
+ "visible": true,
1253
+ "viewRule": "Self",
1254
+ "modifyRule": "Self",
1255
+ "regex": ""
1256
+ },
1257
+ {
1258
+ "name": "WebAuthn credentials",
1259
+ "visible": true,
1260
+ "viewRule": "Self",
1261
+ "modifyRule": "Self",
1262
+ "regex": ""
1263
+ },
1264
+ {
1265
+ "name": "Managed accounts",
1266
+ "visible": true,
1267
+ "viewRule": "Self",
1268
+ "modifyRule": "Self",
1269
+ "regex": ""
1270
+ },
1271
+ {
1272
+ "name": "MFA accounts",
1273
+ "visible": true,
1274
+ "viewRule": "Self",
1275
+ "modifyRule": "Self",
1276
+ "regex": ""
1163
1277
  }
1164
- ],
1165
- "signinItems": null,
1166
- "grantTypes": null,
1167
- "organizationObj": null,
1168
- "certPublicKey": "",
1169
- "tags": [],
1170
- "samlAttributes": null,
1171
- "isShared": false,
1172
- "ipRestriction": "",
1173
- "clientId": "45f13635c08f7bdb97e4",
1174
- "clientSecret": "fc76d8be000bc358c83712f6598754e054969994",
1175
- "redirectUris": [],
1176
- "forcedRedirectOrigin": "",
1177
- "tokenFormat": "JWT",
1178
- "tokenSigningMethod": "",
1179
- "tokenFields": [],
1180
- "expireInHours": 168,
1181
- "refreshExpireInHours": 0,
1182
- "signupUrl": "",
1183
- "signinUrl": "",
1184
- "forgetUrl": "",
1185
- "affiliationUrl": "",
1186
- "ipWhitelist": "",
1187
- "termsOfUse": "",
1188
- "signupHtml": "",
1189
- "signinHtml": "",
1190
- "themeData": null,
1191
- "footerHtml": "",
1192
- "formCss": "",
1193
- "formCssMobile": "",
1194
- "formOffset": 2,
1195
- "formSideHtml": "",
1196
- "formBackgroundUrl": "",
1197
- "formBackgroundUrlMobile": "",
1198
- "failedSigninLimit": 0,
1199
- "failedSigninFrozenTime": 0
1278
+ ]
1279
+ }
1280
+ ],
1281
+ "payments": [],
1282
+ "permissions": [
1283
+ {
1284
+ "owner": "built-in",
1285
+ "name": "permission-built-in",
1286
+ "createdTime": "2025-08-11T08:43:22Z",
1287
+ "displayName": "Built-in Permission",
1288
+ "description": "Built-in Permission",
1289
+ "users": ["built-in/*"],
1290
+ "groups": [],
1291
+ "roles": [],
1292
+ "domains": [],
1293
+ "model": "user-model-built-in",
1294
+ "adapter": "",
1295
+ "resourceType": "Application",
1296
+ "resources": ["app-built-in"],
1297
+ "actions": ["Read", "Write", "Admin"],
1298
+ "effect": "Allow",
1299
+ "isEnabled": true,
1300
+ "submitter": "admin",
1301
+ "approver": "admin",
1302
+ "approveTime": "2025-08-11T08:43:22Z",
1303
+ "state": "Approved"
1304
+ }
1305
+ ],
1306
+ "plans": [],
1307
+ "pricings": [],
1308
+ "products": [],
1309
+ "providers": [
1310
+ {
1311
+ "owner": "admin",
1312
+ "name": "provider_captcha_default",
1313
+ "createdTime": "2025-08-11T08:43:23Z",
1314
+ "displayName": "Captcha Default",
1315
+ "category": "Captcha",
1316
+ "type": "Default",
1317
+ "subType": "",
1318
+ "method": "",
1319
+ "clientId": "",
1320
+ "clientSecret": "",
1321
+ "clientId2": "",
1322
+ "clientSecret2": "",
1323
+ "cert": "",
1324
+ "customAuthUrl": "",
1325
+ "customTokenUrl": "",
1326
+ "customUserInfoUrl": "",
1327
+ "customLogo": "",
1328
+ "scopes": "",
1329
+ "userMapping": null,
1330
+ "httpHeaders": null,
1331
+ "host": "",
1332
+ "port": 0,
1333
+ "disableSsl": false,
1334
+ "title": "",
1335
+ "content": "",
1336
+ "receiver": "",
1337
+ "regionId": "",
1338
+ "signName": "",
1339
+ "templateCode": "",
1340
+ "appId": "",
1341
+ "endpoint": "",
1342
+ "intranetEndpoint": "",
1343
+ "domain": "",
1344
+ "bucket": "",
1345
+ "pathPrefix": "",
1346
+ "metadata": "",
1347
+ "idP": "",
1348
+ "issuerUrl": "",
1349
+ "enableSignAuthnRequest": false,
1350
+ "emailRegex": "",
1351
+ "providerUrl": ""
1200
1352
  }
1201
1353
  ],
1354
+ "records": [],
1355
+ "resources": [],
1356
+ "roles": [],
1357
+ "sessions": [],
1358
+ "subscriptions": [],
1359
+ "syncers": [],
1360
+ "tokens": [],
1361
+ "transactions": [],
1202
1362
  "users": [
1203
1363
  {
1204
1364
  "owner": "lobechat",
@@ -1515,143 +1675,6 @@
1515
1675
  "ipWhitelist": ""
1516
1676
  }
1517
1677
  ],
1518
- "certs": [
1519
- {
1520
- "owner": "admin",
1521
- "name": "cert-built-in",
1522
- "createdTime": "2025-08-11T08:43:23Z",
1523
- "displayName": "Built-in Cert",
1524
- "scope": "JWT",
1525
- "type": "x509",
1526
- "cryptoAlgorithm": "RS256",
1527
- "bitSize": 4096,
1528
- "expireInYears": 20,
1529
- "certificate": "-----BEGIN CER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ZULNo5n/7msEpZP\nUvHbqQKCAQArl813WSEubz3BTTUYz6GKoCaEMB8EW+vgqZL3RCrXZYQaNr0ov+SD\nGuZU+XmBG4KyCZfcRe6RXgZfKno1ZAxLLrqkSRV38syxMpd2enenleySs2oNP88r\nCHIxDOKCqWNGJslV2Wm4z8m5yNpIcAwSL9Xz3FEGKLhKxaDA+4f3UfLC76rGnZ9I\nM9IUdeBOL0XQqGW4w6eQpKiNpWse3Aj+FKHKBhHW3lTpj9phOpy5JY+C03m4tmyP\nuxmPQh79QUQSw8FWfrQjAt0U1Na9J5l83Eba87HowlVSXzYNhCXtikVcFifo0k4m\nR1RcA7Jgq5F6z7smVn3x5NOojVXG2BeRAoIBACUR3J+O9Cwp+2wDNouD/yWbOcPp\nqtcXvqRFgDppUEafbOZ9CP9NLhpM+/4rdMsA5aeh1Jn6mVbkz83Ikz4iU4PCHLrM\n8vhZz/jrYqLUKaKNuCOy+RDdjAyvXK0cq403NxFojea9xxzMQ4xENvuxRTZaAUt+\ng88oX9iI72l1uo31gLoB7o/zIRKVLyYvZa4oyCggPoPGTyhkSj+P8tCYTKQkIxdf\nX+HYxqMrxlY0c1dUJSo3XcW6l4OfHa6jSmyC0EsedQyttICvxfjGcjTlR/rFe/pK\nW0ifC3i5RCsqcwP7dciPGvaI8o5+w0+n7kykrYinTQ1uF2kU7Zu3VpEVVF0=\n-----END RSA PRIVATE KEY-----\n"
1531
- }
1532
- ],
1533
- "providers": [
1534
- {
1535
- "owner": "admin",
1536
- "name": "provider_captcha_default",
1537
- "createdTime": "2025-08-11T08:43:23Z",
1538
- "displayName": "Captcha Default",
1539
- "category": "Captcha",
1540
- "type": "Default",
1541
- "subType": "",
1542
- "method": "",
1543
- "clientId": "",
1544
- "clientSecret": "",
1545
- "clientId2": "",
1546
- "clientSecret2": "",
1547
- "cert": "",
1548
- "customAuthUrl": "",
1549
- "customTokenUrl": "",
1550
- "customUserInfoUrl": "",
1551
- "customLogo": "",
1552
- "scopes": "",
1553
- "userMapping": null,
1554
- "httpHeaders": null,
1555
- "host": "",
1556
- "port": 0,
1557
- "disableSsl": false,
1558
- "title": "",
1559
- "content": "",
1560
- "receiver": "",
1561
- "regionId": "",
1562
- "signName": "",
1563
- "templateCode": "",
1564
- "appId": "",
1565
- "endpoint": "",
1566
- "intranetEndpoint": "",
1567
- "domain": "",
1568
- "bucket": "",
1569
- "pathPrefix": "",
1570
- "metadata": "",
1571
- "idP": "",
1572
- "issuerUrl": "",
1573
- "enableSignAuthnRequest": false,
1574
- "emailRegex": "",
1575
- "providerUrl": ""
1576
- }
1577
- ],
1578
- "ldaps": [
1579
- {
1580
- "id": "ldap-built-in",
1581
- "owner": "built-in",
1582
- "createdTime": "2025-08-11T08:43:25Z",
1583
- "serverName": "BuildIn LDAP Server",
1584
- "host": "example.com",
1585
- "port": 389,
1586
- "enableSsl": false,
1587
- "allowSelfSignedCert": false,
1588
- "username": "cn=buildin,dc=example,dc=com",
1589
- "password": "123",
1590
- "baseDn": "ou=BuildIn,dc=example,dc=com",
1591
- "filter": "",
1592
- "filterFields": null,
1593
- "defaultGroup": "",
1594
- "passwordType": "",
1595
- "autoSync": 0,
1596
- "lastSync": ""
1597
- }
1598
- ],
1599
- "models": [
1600
- {
1601
- "owner": "built-in",
1602
- "name": "api-model-built-in",
1603
- "createdTime": "2025-08-11T08:43:25Z",
1604
- "displayName": "API Model",
1605
- "description": "",
1606
- "modelText": "[request_definition]\nr = subOwner, subName, method, urlPath, objOwner, objName\n\n[policy_definition]\np = subOwner, subName, method, urlPath, objOwner, objName\n\n[role_definition]\ng = _, _\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = (r.subOwner == p.subOwner || p.subOwner == \"*\") \u0026\u0026 \\\n (r.subName == p.subName || p.subName == \"*\" || r.subName != \"anonymous\" \u0026\u0026 p.subName == \"!anonymous\") \u0026\u0026 \\\n (r.method == p.method || p.method == \"*\") \u0026\u0026 \\\n (r.urlPath == p.urlPath || p.urlPath == \"*\") \u0026\u0026 \\\n (r.objOwner == p.objOwner || p.objOwner == \"*\") \u0026\u0026 \\\n (r.objName == p.objName || p.objName == \"*\") || \\\n (r.subOwner == r.objOwner \u0026\u0026 r.subName == r.objName)"
1607
- },
1608
- {
1609
- "owner": "built-in",
1610
- "name": "user-model-built-in",
1611
- "createdTime": "2025-08-11T08:43:25Z",
1612
- "displayName": "Built-in Model",
1613
- "description": "",
1614
- "modelText": "[request_definition]\nr = sub, obj, act\n\n[policy_definition]\np = sub, obj, act\n\n[role_definition]\ng = _, _\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = g(r.sub, p.sub) \u0026\u0026 r.obj == p.obj \u0026\u0026 r.act == p.act"
1615
- }
1616
- ],
1617
- "permissions": [
1618
- {
1619
- "owner": "built-in",
1620
- "name": "permission-built-in",
1621
- "createdTime": "2025-08-11T08:43:22Z",
1622
- "displayName": "Built-in Permission",
1623
- "description": "Built-in Permission",
1624
- "users": [
1625
- "built-in/*"
1626
- ],
1627
- "groups": [],
1628
- "roles": [],
1629
- "domains": [],
1630
- "model": "user-model-built-in",
1631
- "adapter": "",
1632
- "resourceType": "Application",
1633
- "resources": [
1634
- "app-built-in"
1635
- ],
1636
- "actions": [
1637
- "Read",
1638
- "Write",
1639
- "Admin"
1640
- ],
1641
- "effect": "Allow",
1642
- "isEnabled": true,
1643
- "submitter": "admin",
1644
- "approver": "admin",
1645
- "approveTime": "2025-08-11T08:43:22Z",
1646
- "state": "Approved"
1647
- }
1648
- ],
1649
- "payments": [],
1650
- "products": [],
1651
- "resources": [],
1652
- "roles": [],
1653
- "syncers": [],
1654
- "tokens": [],
1655
1678
  "webhooks": [
1656
1679
  {
1657
1680
  "owner": "admin",
@@ -1667,78 +1690,12 @@
1667
1690
  "value": "casdoor-secret"
1668
1691
  }
1669
1692
  ],
1670
- "events": [
1671
- "update-user"
1672
- ],
1693
+ "events": ["update-user"],
1673
1694
  "tokenFields": null,
1674
- "objectFields": [
1675
- "All"
1676
- ],
1695
+ "objectFields": ["All"],
1677
1696
  "isUserExtended": false,
1678
1697
  "singleOrgOnly": false,
1679
1698
  "isEnabled": true
1680
1699
  }
1681
- ],
1682
- "groups": [],
1683
- "adapters": [
1684
- {
1685
- "owner": "built-in",
1686
- "name": "api-adapter-built-in",
1687
- "createdTime": "2025-08-11T08:43:25Z",
1688
- "table": "casbin_api_rule",
1689
- "useSameDb": true,
1690
- "type": "",
1691
- "databaseType": "",
1692
- "host": "",
1693
- "port": 0,
1694
- "user": "",
1695
- "password": "",
1696
- "database": ""
1697
- },
1698
- {
1699
- "owner": "built-in",
1700
- "name": "user-adapter-built-in",
1701
- "createdTime": "2025-08-11T08:43:25Z",
1702
- "table": "casbin_user_rule",
1703
- "useSameDb": true,
1704
- "type": "",
1705
- "databaseType": "",
1706
- "host": "",
1707
- "port": 0,
1708
- "user": "",
1709
- "password": "",
1710
- "database": ""
1711
- }
1712
- ],
1713
- "enforcers": [
1714
- {
1715
- "owner": "built-in",
1716
- "name": "api-enforcer-built-in",
1717
- "createdTime": "2025-08-11T08:43:25Z",
1718
- "updatedTime": "2025-08-11 08:43:25",
1719
- "displayName": "API Enforcer",
1720
- "description": "",
1721
- "model": "built-in/api-model-built-in",
1722
- "adapter": "built-in/api-adapter-built-in",
1723
- "modelCfg": null
1724
- },
1725
- {
1726
- "owner": "built-in",
1727
- "name": "user-enforcer-built-in",
1728
- "createdTime": "2025-08-11T08:43:25Z",
1729
- "updatedTime": "2025-08-11 08:43:25",
1730
- "displayName": "User Enforcer",
1731
- "description": "",
1732
- "model": "built-in/user-model-built-in",
1733
- "adapter": "built-in/user-adapter-built-in",
1734
- "modelCfg": null
1735
- }
1736
- ],
1737
- "plans": [],
1738
- "pricings": [],
1739
- "invitations": [],
1740
- "records": [],
1741
- "sessions": [],
1742
- "subscriptions": [],
1743
- "transactions": []
1744
- }
1700
+ ]
1701
+ }