# Discourse based roles/access on Discord

**URL:** https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597
**Category:** Feature
**Created:** [April 18, 2018, 4:56am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597 "2018-04-18T04:56:51Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [April 18, 2018, 4:56am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/1 "2018-04-18T04:56:51Z")

</div>

Hope I am in the correct category…Tried to search about that feature, but did not find anything.

I am woundering if there allready exists a discourse plugin which gives access roles on a specific discord server, based on discourse groups?  
So for example:

- a discourse user has the group gaming
- this user want to access the forums discord server
- so he can access via an invite link or other
- gets to the discord server and automatically gets the role based on his discourse group
- possibly when he deletes his account on discourse, roles on discord server gets revoked

Thanks for help and time.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [April 18, 2018, 5:17am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/2 "2018-04-18T05:17:06Z")

</div>

This would be dependent on whether Discord can pull the groups out of the [Discourse SSO](https://meta.discourse.org/t/13045?silent=true) response payload.

---

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [April 18, 2018, 8:05am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/3 "2018-04-18T08:05:13Z")

</div>

I am not a developer, so my knowledge is minimal on that stuff. I know a program called Alliance Auth which is doing exactly that what I was asking:

[https://github.com/allianceauth/allianceauth](https://github.com/allianceauth/allianceauth)

It handles the roles via a bot, but how that works I cannot say 🙂 So groups created in AllianceAuth also are being created on the discord server.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 18, 2018, 12:54pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/4 "2018-04-18T12:54:04Z")

</div>

I know @Vocino did exactly this.

[https://strats-bridge.herokuapp.com](https://strats-bridge.herokuapp.com)

---

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [April 19, 2018, 10:49am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/5 "2018-04-19T10:49:17Z")

</div>

Thx for the Information. Do you evetually know if he is sharing the codebase to the community?

---

<div class="post-metadata">

### Author: ![Vocino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vocino/32/85136_2.png) [@Vocino](https://meta.discourse.org/u/Vocino)
#### Post date: [May 17, 2018, 7:45pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/6 "2018-05-17T19:45:42Z")

</div>

Sorry for the late reply. Yes we are doing exactly this with a custom ruby app. It’s not really in any kind of state to be shared. It also has a bunch of other random features thrown in that are specific to [our community](https://forum.strats.co).

---

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [May 25, 2018, 4:39am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/7 "2018-05-25T04:39:35Z")

</div>

@Vocino thx for your reply.

---

<div class="post-metadata">

### Author: ![Wedgebert](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wedgebert/32/131690_2.png) [@Wedgebert](https://meta.discourse.org/u/Wedgebert)
#### Post date: [December 24, 2018, 2:29am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/8 "2018-12-24T02:29:28Z")

</div>

I know it’s an old thread, but this is something that we’d like to do with our discord server and forums. Googling anything related to this functionality keeps returning this thread as a top result ☹

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 24, 2018, 2:52am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/9 "2018-12-24T02:52:41Z")

</div>

Hey @Wedgebert,

I know this is on @erlend_sh roadmap. Maybe he have more details about this.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [January 9, 2019, 6:26pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/10 "2019-01-09T18:26:10Z")

</div>

> [@Vocino](#):
>
> Yes we are doing exactly this with a custom ruby app.

Would love to have a closer look at that 😉

In related news, I’m looking for a developer who’d be interested on working on this as a paid gig. Anyone interested should PM me.

---

<div class="post-metadata">

### Author: ![d0p3t](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/d0p3t/32/132573_2.png) [@d0p3t](https://meta.discourse.org/u/d0p3t)
#### Post date: [February 27, 2019, 11:18pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/11 "2019-02-27T23:18:03Z")

</div>

Any new update on if someone is working on this?

I saw a NodeJS bot by @Watercolor_Games which has this functionality, but it’s not plugin based. I have some concerns when using this for large Discord guilds. An event based Discourse plugin that updates Discord roles when a Discourse users trust level/group changed sounds much safer.

---

<div class="post-metadata">

### Author: ![Wedgebert](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wedgebert/32/131690_2.png) [@Wedgebert](https://meta.discourse.org/u/Wedgebert)
#### Post date: [February 28, 2019, 1:59am UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/12 "2019-02-28T01:59:40Z")

</div>

The one by @Watercolor_Games is currently in the process of being converted into a Discourse plugin. You’re probably best just waiting for that to finish.

---

<div class="post-metadata">

### Author: ![Watercolor\_Games](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watercolor_games/32/131248_2.png) [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)
#### Post date: [February 28, 2019, 1:22pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/13 "2019-02-28T13:22:06Z")

</div>

Yeah, it’s being ported to a plugin. I’m part of the team for the port though it’s not likely I’ll be doing much actual programming - even though I will be trying to learn Ruby and how to write my own discourse plugins from being a part of this team.

I will say that we’re aiming for feature parity, everything that the node bot can do or was planned to do, the plugin will do as well.

---

<div class="post-metadata">

### Author: ![d0p3t](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/d0p3t/32/132573_2.png) [@d0p3t](https://meta.discourse.org/u/d0p3t)
#### Post date: [March 4, 2019, 5:04pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/14 "2019-03-04T17:04:52Z")

</div>

> [@Watercolor\_Games](#):
>
> aiming for feature parity

That sounds wonderful! I’m guessing we should keep an eye out on the same repository of the NodeJS bot (different branch)?

---

<div class="post-metadata">

### Author: ![Watercolor\_Games](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watercolor_games/32/131248_2.png) [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)
#### Post date: [March 4, 2019, 7:09pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/15 "2019-03-04T19:09:27Z")

</div>

I’m not entirely sure yet. We’ll keep you guys posted, though. 🙂

---

<div class="post-metadata">

### Author: ![Valiantiam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/valiantiam/32/164562_2.png) [@Valiantiam](https://meta.discourse.org/u/Valiantiam)
#### Post date: [November 20, 2019, 8:01pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/16 "2019-11-20T20:01:23Z")

</div>

Thought I’d poke on this topic.

I’m moving my community to discourse and we currently have a xenforo plugin that does this for us. Having this as a feature on our new forum is a must 🙂

Any news on how the development goes?

---

<div class="post-metadata">

### Author: ![Stanzilla](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stanzilla/32/166422_2.png) [@Stanzilla](https://meta.discourse.org/u/Stanzilla)
#### Post date: [January 29, 2020, 11:20pm UTC](https://meta.discourse.org/t/discourse-based-roles-access-on-discord/85597/17 "2020-01-29T23:20:15Z")

</div>

Is still still planned as a feature?
