# What is the bug reporter badge?

**URL:** https://meta.discourse.org/t/what-is-the-bug-reporter-badge/17987
**Category:** Data & reporting
**Tags:** sql-triggered-badge
**Created:** [July 24, 2014, 8:58am UTC](https://meta.discourse.org/t/what-is-the-bug-reporter-badge/17987 "2014-07-24T08:58:01Z")
**Posts on this page:** 1
**Showing post:** 33

<div class="post-metadata">

### Author: ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)
#### Post date: [February 8, 2022, 11:21pm UTC](https://meta.discourse.org/t/what-is-the-bug-reporter-badge/17987/33 "2022-02-08T23:21:45Z")

</div>

You might not be finding where you can add the code because editing badge SQL editing is now disabled by default. See here:

> [@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 …

So I think the process would be to:

1. Enable badge SQL editing (instructions in the linked topic)
2. Create a new badge in Admin \> Badges (or edit an existing badge if you’ve already created it)
3. Add your SQL to the badge and save
4. Disable badge SQL editing

Then if you haven’t already done so, going by the values in the SQL you posted:

1. Create a category called “bug”
2. Create a user group called “team”
3. Add the users that you want to be able to accept bug reports to “team”

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-bug-reporter-badge/17987)._
