Skip to content

Can't unimpersonate after impersonating #724

@dormieriancitizen

Description

@dormieriancitizen

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions