# חיקוי רקורסיבי

**URL:** <https://meta.discourse.org/t/recursive-impersonation/202522>\
**Category:** Product Support\
**Tags:** impersonate\
**Created:** [3 בספטמבר,‏ 2021,‏ 10:27am UTC](https://meta.discourse.org/t/recursive-impersonation/202522 "2021-09-03T10:27:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![bloomingcrystals](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bloomingcrystals/32/233044_2.png) [@bloomingcrystals](https://meta.discourse.org/u/bloomingcrystals)\
**Post date:** [3 בספטמבר,‏ 2021,‏ 10:27am UTC](https://meta.discourse.org/t/recursive-impersonation/202522/1 "2021-09-03T10:27:47Z")

</div>

Hello everyone,

I set up a discourse server for a client and let them create test accounts, which I knew will ultimately become obsolete once the SSO was in place. I set everything up, customised my theme and wrote category descriptions for everything using my admin account A.

Once I had [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) setup (as the only sign-up option) I signed in with my admin account from the other system and granted that account B admin rights. From here on I would do anything under account B, as I couldn’t log in as A anymore.

Then I happend upon the “impersonate” button and got curious. Seemed like I didn’t have to delete account A, if I could just impersonate them to edit category descriptions, FAQs etc. So I used B to impersonate A and did a bunch of edits to test and everything was great.

Until I got curious if I could impersonate the forum’s bot account as well. So, while still impersonating A (who happened to be an admin) I decided to impersonate C. It worked, great stuff, so diligently I logged out and went about my day.

Now, when logged in as B I can no longer impersonate A or C (other users are fine). The spot where the button should appear just reads “Admins and moderators can’t be deleted”.  
The logs say that “B impersonated A” and “A impersonated C”.

I wasn’t sure whether this warrants a bug report - as I currently have no way of reproducing my steps - or if there was an easy way to fix this?

Thanks in advance,  
Flo

---

_[View the full topic](https://meta.discourse.org/t/recursive-impersonation/202522)._
