mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: created edit and delete flags (#27484)
Allow admins to create edit and delete flags.
This commit is contained in:
committed by
GitHub
parent
a86590ffd6
commit
c3fadc7330
@@ -356,6 +356,12 @@
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"applies_to": {
|
||||
"type": "array"
|
||||
},
|
||||
"is_used": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -366,7 +372,9 @@
|
||||
"short_description",
|
||||
"is_flag",
|
||||
"is_custom_flag",
|
||||
"enabled"
|
||||
"enabled",
|
||||
"applies_to",
|
||||
"is_used"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -400,6 +408,12 @@
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"applies_to": {
|
||||
"type": "array"
|
||||
},
|
||||
"is_used": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -410,7 +424,9 @@
|
||||
"short_description",
|
||||
"is_flag",
|
||||
"is_custom_flag",
|
||||
"enabled"
|
||||
"enabled",
|
||||
"applies_to",
|
||||
"is_used"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -823,6 +839,9 @@
|
||||
"denied_emojis" : {
|
||||
"type": "array"
|
||||
},
|
||||
"valid_flag_applies_to_types" : {
|
||||
"type": "array"
|
||||
},
|
||||
"navigation_menu_site_top_tags": {
|
||||
"type": "array"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user