# Group Join/Leave button not working

**URL:** https://meta.discourse.org/t/group-join-leave-button-not-working/58924
**Category:** Bug
**Created:** [March 12, 2017, 2:29pm UTC](https://meta.discourse.org/t/group-join-leave-button-not-working/58924 "2017-03-12T14:29:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [March 12, 2017, 2:29pm UTC](https://meta.discourse.org/t/group-join-leave-button-not-working/58924/1 "2017-03-12T14:29:21Z")

</div>

Continuing the discussion from [Joining a group doesn't take effect unless the browser is hard-refreshed](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/5):

> [@Joining a group doesn't take effect unless the browser is hard-refreshed](https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/5):
>
> Selecting the Leave Group button on Groups page doesn’t toggle to immediately show the Join Group button.

This issue is back again for me. Not sure it related to the linked “topic list” refresh issue so starting a new topic.

Also, when selecting Join Group for certain groups I get an error message: **‘user’ is already a member of this group** (but the Groups page doesn’t reflect that fact). I tried clearing cache.

I am an owner of some of these groups but still seeing the issues for groups where I am non-owner.

A user should not really be allowed to “leave” the group if they are owner right?. As I type this, I am realizing maybe that’s why the button isn’t changing for some groups? Maybe this should trigger an error message or disable the button for owners so they can’t leave a group. User are allowed to “not have an owner” so I suppose this could be addressed later.

Another issue to consider for troubleshooting, I did change my groups names recently (so they could be sorted in order by slug name).

If this looks like something specific to my instance, feel free to move it to private support.

---

<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: [March 12, 2017, 6:05pm UTC](https://meta.discourse.org/t/group-join-leave-button-not-working/58924/2 "2017-03-12T18:05:18Z")

</div>

Can you repro @tgxworld?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [March 14, 2017, 3:40am UTC](https://meta.discourse.org/t/group-join-leave-button-not-working/58924/4 "2017-03-14T03:40:13Z")

</div>

Hi @scombs

> [@scombs](#):
>
> Also, when selecting Join Group for certain groups I get an error message: ‘user’ is already a member of this group (but the Groups page doesn’t reflect that fact). I tried clearing cache.

Which group were you trying to join? Were you using your own user to join the group?

> [@scombs](#):
>
> A user should not really be allowed to “leave” the group if they are owner right?

Hmm there is currently no such restriction in place. A group can be without any owner since admins can still manage them.

---

<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: [March 15, 2017, 2:53pm UTC](https://meta.discourse.org/t/group-join-leave-button-not-working/58924/5 "2017-03-15T14:53:37Z")

</div>

Dupe of:

> [@"Leave Group" button on /groups page doesn't give any feedback](https://meta.discourse.org/t/leave-group-button-on-groups-page-doesnt-give-any-feedback/57359/9):
>
> Same issues as this [one](https://meta.discourse.org/t/group-join-leave-button-not-working/58924) but better description here so can close the other one. I sent PM to @tgxworld with logs but not sure if related.
