Skip to content

refactor behavior of verificationStatus and admin role #379

@grindarius

Description

@grindarius

currently the status and the role is not really associated.

I wanted to refactor this part by making the following changes:

  • If a person has been promoted to an admin, the status on the frontend side will only show the admin badge. You are guaranteed you will be automatically verified if you get promoted by other admins to be an admin.
  • When a person is an admin and then get depromoted back to a user, the person can keep their verified role.
  • When a person gets promoted to a verified account, nothing is done on the admin side.
  • When a person gets depromoted to a normal user, nothing is done.

Metadata

Metadata

Assignees

Labels

apiBackend folder related tasksdatabaseoutside database related workfrontendfrontend folder work related

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions