# Revoking admin doesn't enable all eligible admin buttons

**URL:** https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060
**Category:** UX
**Created:** [June 15, 2015, 10:46pm UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060 "2015-06-15T22:46:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [June 15, 2015, 10:46pm UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060/1 "2015-06-15T22:46:57Z")

</div>

When revoking an admin, the `Suspend` button lights up right away, however the ` Admins and moderators can't be deleted.` words don’t go away until a page refresh.

Low priority to be sure but I’d run into it on three forums, so I can only assume others have too.

- Navigate to the admin view of forum admin
- click Revoke admin
- note that the delete buttons at the bottom of the page are missing.
- a refresh of the page is required to be able to finish removing the former admin.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [January 15, 2016, 3:13am UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060/2 "2016-01-15T03:13:13Z")

</div>

heh, I just came back to report this, but was reminded I already did

---

<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: [January 15, 2016, 10:18am UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060/3 "2016-01-15T10:18:47Z")

</div>

Very low priority indeed. I wonder if the force-refresh hack we do in other places would be enough here (_also, shouldn’t be too hard to do in a pull request_ ;))

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [January 15, 2016, 5:45pm UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060/4 "2016-01-15T17:45:58Z")

</div>

Ah, but that I knew enough to make a PR - I would.

---

<div class="post-metadata">

### Author: ![fbender](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fbender/32/116736_2.png) [@fbender](https://meta.discourse.org/u/fbender)
#### Post date: [January 18, 2016, 2:46pm UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060/5 "2016-01-18T14:46:31Z")

</div>

I think a force-refresh should be the way to go here.

Are the sessions updated for the affected user right away? Hypothetical situation: Admin is on rampage, I revoke rights and I expect him to be unable to do anything after I clicked the button. If he still can do anything he wants, there’s not much use in revoking his rights, isn’t it?

---

<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: [January 18, 2016, 2:58pm UTC](https://meta.discourse.org/t/revoking-admin-doesnt-enable-all-eligible-admin-buttons/30060/6 "2016-01-18T14:58:50Z")

</div>

> [@fbender](#):
>
> Are the sessions updated for the affected user right away?

Yes there are. OP just suggested a UI bug 😉
