# خطأ جديد في واجهة التنكر التجريبية

**URL:** <https://meta.discourse.org/t/new-bug-with-experimental-impersonation-interface/395621>\
**Category:** Bug\
**Tags:** impersonate\
**Created:** [10 فبراير 2026، 2:10ص UTC](https://meta.discourse.org/t/new-bug-with-experimental-impersonation-interface/395621 "2026-02-10T02:10:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [10 فبراير 2026، 3:50ص UTC](https://meta.discourse.org/t/new-bug-with-experimental-impersonation-interface/395621/11 "2026-02-10T03:50:09Z")

</div>

الإصلاح القادم هنا:

> <https://github.com/discourse/discourse/pull/37655>
>
> Followup 42da6860fdc64f5e0cd01fb4ed089dcb318e523a
> 
> When the upcoming change fo…r "Impersonate without logout" was added, we
> didn't take into account that the "stop impersonation" action would not
> work if the Staff enabled option for the upcoming change was used.
> 
> This was happening because in the ImpersonateController#destroy action
> we werecheckingif the current user had \`impersonate\_without\_logout\`
> enabled, but we should be checking if the acting user had that
> permission instead (i.e. the original admin not the user they are
> impersonating)
> 
> c.f. https://meta.discourse.org/t/new-bug-with-experimental-impersonation-interface/395621

---

_[View the full topic](https://meta.discourse.org/t/new-bug-with-experimental-impersonation-interface/395621)._
