# Locked query field for system badges

**URL:** https://meta.discourse.org/t/locked-query-field-for-system-badges/83415
**Category:** Support
**Tags:** badges
**Created:** [20.Март.2018 16:44:25 UTC](https://meta.discourse.org/t/locked-query-field-for-system-badges/83415 "2018-03-20T16:44:25Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [20.Март.2018 16:50:41 UTC](https://meta.discourse.org/t/locked-query-field-for-system-badges/83415/2 "2018-03-20T16:50:41Z")

</div>

Here are the steps for enabling the SQL Badge Queries

> [@Enable Badge SQL](https://meta.discourse.org/t/badge-sql-can-no-longer-be-edited-by-default/47894):
>
> bookmark This guide explains how to enable Badge SQL in Discourse and discusses the associated security and performance risks. person_raising_hand Required user level: Administrator warning Enabling Badge SQL can pose security and performance risks. To maintain security and performance integrity, as of Discourse 1.6, the ability for administrators to edit badge SQL directly is disabled by default. The two primary concerns around enabling Badge SQL are: Security: Allowing direct SQL …

---

_[View the full topic](https://meta.discourse.org/t/locked-query-field-for-system-badges/83415)._
