Skip to content

Non-admin user stuck in admin_mode #1131

@longshuicy

Description

@longshuicy

When a user was an admin and turned on admin_mode, then their admin privileges were revoked without switching off admin_mode, they remained stuck in admin_mode despite no longer being an admin.

To reproduce:

  1. create 2 accounts, account A is admin
  2. account A approve B to be admin
  3. login with B and turn on admin_mode
  4. log out then login as A. revoke B's admin privilege
  5. login as B
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions