# 배지 지급 시 그룹 멤버십 트리거

**URL:** https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242
**Category:** Feature
**Tags:** badges, groups
**Created:** [3월 3, 2020, 6:54오후 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242 "2020-03-03T18:54:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Grayden\_Shand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grayden_shand/32/166586_2.png) [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)
#### Post date: [3월 3, 2020, 6:54오후 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242/1 "2020-03-03T18:54:28Z")

</div>

처음으로 이 내용을 여기에서 게시했습니다: [Grant a badge for all members of a group](https://meta.discourse.org/t/automatically-grant-a-badge-for-all-members-of-a-group/18147/33?u=grayden_shand)

@jtbayly 님께 이 내용을 #Contribute > Feature 카테고리에 게시하도록 제안해 주셔서 감사합니다.

## 개요

사용자에게 새로운 배지가 부여되면, 해당 이벤트가 트리거가 되어 사용자가 그룹에 추가되거나 제거됩니다.

## 사용 사례

- 사용자가 이스터 에그처럼 "잠금 해제"할 수 있는 보너스 콘텐츠를 포함한 숨겨진 카테고리가 있는 경우.
- “Beginners” 그룹에 속한 사용자만 볼 수 있는 “Getting Started” 카테고리가 있는 경우. “Certified” 배지가 부여되면 사용자는 자동으로 “Beginners” 그룹에서 제외되고, 해당 카테고리가 더 이상 표시되지 않습니다.

다른 사용 사례를 생각할 수 있다면, 아래 댓글로 추가해 주세요!

---

<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: [3월 4, 2020, 2:57오전 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242/2 "2020-03-04T02:57:58Z")

</div>

이것은 다음 글과 완전히 중복된 건가요?

> [@What if badges could optionally synchronize group membership?](https://meta.discourse.org/t/what-if-badges-could-optionally-synchronize-group-membership/92232):
>
> I was looking at this topic today: Thinking through the problem one area Discourse is a bit weak is around defining “dynamic” groups of users. Give me a group of users that signed up more than 1 month ago Give me a group of users that posted at least 10 times And so on. Badges on the other hand have very rich support for this “dynamic” nature once the fancy SQL is enabled. Having an “extra” tick box on badges to bridge a badge to a group would add a lot of power. We have no way of a…

여전히 훌륭한 아이디어라고 생각하지만, 현재 어떤 릴리스에 포함될 계획은 없습니다.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [3월 4, 2020, 3:38오전 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242/3 "2020-03-04T03:38:39Z")

</div>

다만 다음 항목은 예외입니다:

> [@Grayden\_Shand](#):
>
> “인증됨” 배지가 부여된 사용자는 자동으로 “초보자” 그룹에서 제거됩니다.

그렇습니다.

이것이 얼마나 합리적인지 확실하지 않습니다. 관련 카테고리의 게시물을 더 이상 볼 수 없게 되면 꽤 혼란스러울 것입니다.

---

<div class="post-metadata">

### Author: ![franciscom](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@franciscom](https://meta.discourse.org/u/franciscom)
#### Post date: [3월 4, 2020, 9:18오전 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242/4 "2020-03-04T09:18:36Z")

</div>

이런 사용 사례들은 꽤 흥미로울 것 같아요 🤔

---

<div class="post-metadata">

### Author: ![Grayden\_Shand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grayden_shand/32/166586_2.png) [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)
#### Post date: [3월 4, 2020, 2:23오후 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242/5 "2020-03-04T14:23:53Z")

</div>

와, 실수했네요. 중복 게시물을 올려서 죄송합니다. 게시하기 전에는 검색을 해 봤지만, 분명히 이 글을 놓친 것 같습니다. 삭제해 드릴 수 있습니다.

아마도 한 가지 미묘한 차이점이 있다면, 저는 이 기능이 자동화된 배지 쿼리를 통해 부여되는 것이 아니라, 예를 들어 модератор에 의해 수동으로 부여되는 배지에도 작동하기를 원한다는 점입니다. 예를 들어, 저희에는 정말 깊이 있는 게시물에 대해 модератор가 수여할 수 있는 “피드백” 배지가 있습니다. 이 배지가 플레어 배지를 “잠금 해제”(그룹에 추가하여)하는 기능을 갖기를 바랍니다. 당신의 접근 방식(미러 그룹 추가)이 이 경우에도 해당되는 것 같습니다. 다만, 게시물은 주로 SQL 트리거 배지에 초점을 맞추고 있어 언급할 가치가 있다고 생각했습니다.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 4, 2020, 4:42오후 UTC](https://meta.discourse.org/t/badge-granting-triggers-group-membership/143242/6 "2020-03-04T16:42:17Z")

</div>


