# Ações do administrador do tópico chave mostrando para usuários não-staff

**URL:** <https://meta.discourse.org/t/topic-admin-actions-wrench-showing-to-non-staff-users/306018>\
**Category:** Bug\
**Created:** [29 Abril , 2024 21:08 UTC](https://meta.discourse.org/t/topic-admin-actions-wrench-showing-to-non-staff-users/306018 "2024-04-29T21:08:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**Post date:** [29 Abril , 2024 21:16 UTC](https://meta.discourse.org/t/topic-admin-actions-wrench-showing-to-non-staff-users/306018/3 "2024-04-29T21:16:19Z")

</div>

Acho que isso está ligado a este commit:

> <https://github.com/discourse/discourse/commit/8dd883d4e583b242df4e2d31a045fae715a97976>
>
> \* DEV: Refactor topic admin menu to use \`\<DMenu\>\`
> 
> This PR also introduces a n…ew plugin API to add buttons to the topic admin menu
> 
> \`\`\`javascript
> api.addTopicAdminMenuButton((topic) =\> {
> return {
> action: () =\> {
> alert('Sunrise!');
> },
> icon: 'sun',
> className: 'sunrise-button',
> label: 'actions.rise',
> };
> });
> \`\`\`
> 
> The plugins that needed to be updated are:
> 
> \- \[discourse-zoom\](https://github.com/discourse/discourse-zoom/pull/73)
> \- \[discourse-salesforce\](https://github.com/discourse/discourse-salesforce/pull/74)
> \- \[discourse-topic-noindex\](https://github.com/discourse/discourse-topic-noindex/pull/11)

---

_[View the full topic](https://meta.discourse.org/t/topic-admin-actions-wrench-showing-to-non-staff-users/306018)._
