mirror of
https://github.com/discourse/discourse.git
synced 2025-06-14 17:27:50 +08:00
FIX: use enum values for trust level settings
This commit is contained in:
@ -409,6 +409,7 @@ users:
|
|||||||
client: true
|
client: true
|
||||||
anonymous_posting_min_trust_level:
|
anonymous_posting_min_trust_level:
|
||||||
default: 1
|
default: 1
|
||||||
|
enum: 'TrustLevelSetting'
|
||||||
client: true
|
client: true
|
||||||
anonymous_account_duration_minutes:
|
anonymous_account_duration_minutes:
|
||||||
default: 10080
|
default: 10080
|
||||||
@ -1383,6 +1384,7 @@ user_api:
|
|||||||
hidden: true
|
hidden: true
|
||||||
min_trust_level_for_user_api_key:
|
min_trust_level_for_user_api_key:
|
||||||
default: 1
|
default: 1
|
||||||
|
enum: 'TrustLevelSetting'
|
||||||
allowed_user_api_push_urls:
|
allowed_user_api_push_urls:
|
||||||
default: ''
|
default: ''
|
||||||
type: list
|
type: list
|
||||||
|
Reference in New Issue
Block a user