mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: limit the number of custom flags to 50 (#28221)
Admin can create up to 50 custom flags. It is limited for performance reasons. When the limit is reached "Add button" is disabled and backend is protected by guardian.
This commit is contained in:
committed by
GitHub
parent
2e8273dcb4
commit
fc2259d1c8
@@ -2434,6 +2434,10 @@ developer:
|
||||
type: group_list
|
||||
hidden: true
|
||||
allow_any: false
|
||||
custom_flags_limit:
|
||||
default: 50
|
||||
hidden: true
|
||||
client: true
|
||||
|
||||
navigation:
|
||||
navigation_menu:
|
||||
|
||||
Reference in New Issue
Block a user