-
-
Notifications
You must be signed in to change notification settings - Fork 256
Can't unimpersonate after impersonating #724
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Category
Admin (/admin commands)
Description
After impersonating a user without admin privileges on the panel, you can't unimpersonate afterwards, because the impersonated user doesn't have perms.
Steps to reproduce
/admin impersonate <user without perms>
/admin impersonate
see failure
Expected behavior
Should unimpersonate you. It's probably fine to del a user from the impersonations table upon running the command regardless of whether they have perms to run the command for a fix.
Screenshots
No response
Version
No response
Error stack trace
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working