# Disallow to accept an answer given by topic creater

**URL:** https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076
**Category:** Feature
**Tags:** solved
**Created:** [April 11, 2018, 10:33am UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076 "2018-04-11T10:33:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pkulkov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pkulkov/32/86504_2.png) [@pkulkov](https://meta.discourse.org/u/pkulkov)
#### Post date: [April 11, 2018, 10:33am UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/1 "2018-04-11T10:33:44Z")

</div>

Hi!

How to disallow to accept an answer given by topic creater.  
Now question creater can answer on own question, so if i give badges for answers, user can achive it by asking and answering self questions.

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [April 11, 2018, 12:11pm UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/2 "2018-04-11T12:11:18Z")

</div>

> [@pkulkov](#):
>
> i give badges for answers, user can achive it by asking and answering self questions

Do you create new badges about this?  
You must exclude the author id for solved badge.  
The default _[helpdesk](https://meta.discourse.org/badges/125/helpdesk)_ badge already exclude this situation. Check the sql from that badge to understand what I mean.

---

<div class="post-metadata">

### Author: ![sjdorst](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sjdorst/32/119836_2.png) [@sjdorst](https://meta.discourse.org/u/sjdorst)
#### Post date: [June 12, 2018, 10:47pm UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/3 "2018-06-12T22:47:52Z")

</div>

The forum I’m most active on has created a badge, “Learned One”, awarded after a user receives 10 “Solution” checkmarks. I understand that the first checkmark that grants the “Helpdesk” badge can’t be self-bestowed. I don’t think our “Learned One” should be earned using any self-awarded solutions. Is there a way to prevent this?

Bear in mind I’m a user. No administrative access, no documentation save what I’ve gleaned on my occasional forays into this forum.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 15, 2018, 3:10am UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/4 "2018-06-15T03:10:19Z")

</div>

technically this is doable, they just need to amend the badge SQL not to count self awards.

---

<div class="post-metadata">

### Author: ![sjdorst](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sjdorst/32/119836_2.png) [@sjdorst](https://meta.discourse.org/u/sjdorst)
#### Post date: [June 15, 2018, 2:10pm UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/5 "2018-06-15T14:10:07Z")

</div>

@sam  
I’m guessing here - my SQL is extremely old, rusty, and was never much developed to begin with:

So someone with access, authority, and a basic SQL knowledge should be able to:

1. Look at the SQL for the provided “HelpDesk” badge - which already disallows self-check
2. Identify how self-checks are disallowed
3. Look at the SQL for our “Learned One” badge
4. Change the “LearnedOne” badge to add the test identified in #2

Correct?

🤔 It just now occurs to me that I never asked our administrators if the badge already has such a restriction! I think I’ll do that now :

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 19, 2018, 4:39am UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/6 "2018-06-19T04:39:49Z")

</div>

This seems right, note I recall we have sorted this out via our support channel due to this being on a hosted customer.

---

<div class="post-metadata">

### Author: ![sjdorst](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sjdorst/32/119836_2.png) [@sjdorst](https://meta.discourse.org/u/sjdorst)
#### Post date: [June 19, 2018, 4:53am UTC](https://meta.discourse.org/t/disallow-to-accept-an-answer-given-by-topic-creater/85076/7 "2018-06-19T04:53:32Z")

</div>

Yep. Person you added to our PM conversation gave me info I needed.
