# Permissions buttons not working

**URL:** https://meta.discourse.org/t/permissions-buttons-not-working/54539
**Category:** Support
**Created:** [12월 20, 2016, 9:32오전 UTC](https://meta.discourse.org/t/permissions-buttons-not-working/54539 "2016-12-20T09:32:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![skoota](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/skoota/32/65472_2.png) [@skoota](https://meta.discourse.org/u/skoota)
#### Post date: [12월 20, 2016, 9:32오전 UTC](https://meta.discourse.org/t/permissions-buttons-not-working/54539/1 "2016-12-20T09:32:40Z")

</div>

I’m running the latest build of Discourse (v1.7.0.beta10+71) and none of the buttons under the “Permissions” section for the user profile seem to be working.

For example, when I click the “Suspend” button for a user, enter the time period and reason (in the popup box) and click “Suspend” again to save and close, nothing happens apart from the box disappearing. This output appears in the Discourse error logs:

```
Uncaught TypeError: this.get(...).suspend is not a function
Url: https://forum.example.com/assets/admin-dbd85c3174f1d48c9de9c444affc25b193557aa6862682fed46026b4e4a11e11.js
Line: 5
Column: 17555
Window Location: https://forum.example.com/admin/users/4/username-being-suspended-here

```

When I click a different button (e.g. Block, Grant Moderation, etc.) errors appear in the browser console:

```
Uncaught TypeError: Cannot read property 'apply' of undefined
    at _ember_jquery-60dedd1….js:10383
    at Object.d [as flaggedInstrument] (_ember_jquery-60dedd1….js:16683)
    at _ember_jquery-60dedd1….js:10382
    at p.run (_ember_jquery-60dedd1….js:718)
    at Object.l [as run] (_ember_jquery-60dedd1….js:20396)
    at e.handler (_ember_jquery-60dedd1….js:10358)
    at HTMLButtonElement.<anonymous> (_ember_jquery-60dedd1….js:38040)
    at HTMLElement.dispatch (_ember_jquery-60dedd1….js:7)
    at HTMLElement.g.handle (_ember_jquery-60dedd1….js:7)

```

The only button which does work is the “Generate” button for an API key.

All the buttons in the other sections work fine, the only problems are within “Permissions”. Any ideas what is going on here?

---

<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: [12월 20, 2016, 10:41오전 UTC](https://meta.discourse.org/t/permissions-buttons-not-working/54539/2 "2016-12-20T10:41:03Z")

</div>

Possible this is an Ember 2.10 bug cc @zogstrip

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [12월 20, 2016, 10:43오전 UTC](https://meta.discourse.org/t/permissions-buttons-not-working/54539/3 "2016-12-20T10:43:07Z")

</div>

Having a look 👀

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [12월 20, 2016, 11:34오전 UTC](https://meta.discourse.org/t/permissions-buttons-not-working/54539/4 "2016-12-20T11:34:54Z")

</div>

This is now fixed 🍒

[https://github.com/discourse/discourse/commit/c302ffe08f7c3c9e4b9758333f0ac081a8d002d0](https://github.com/discourse/discourse/commit/c302ffe08f7c3c9e4b9758333f0ac081a8d002d0)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [12월 20, 2016, 11:34오전 UTC](https://meta.discourse.org/t/permissions-buttons-not-working/54539/5 "2016-12-20T11:34:56Z")

</div>


