Ensure there’s at least one admin #3

Closed
opened 2023-06-20 18:21:49 +02:00 by migration-script · 0 comments

Summary

It is possible to delete the last admin user.

Description

As an admin, I want to ensure there's always at least one admin account left for operation.

Acceptance criteria

There are two possible ways:

  • Ensure that after the current delete operation, there is at least one account left that has admin privileges granted
  • Disable removing of the current user (as only admins can delete users, this leads to the last account not being removable)

@ghost Any thoughts?

## Summary ## It is possible to delete the last admin user. ## Description ## As an admin, I want to ensure there's always at least one admin account left for operation. ## Acceptance criteria ## There are two possible ways: - Ensure that after the current delete operation, there is at least one account left that has admin privileges granted - Disable removing of the current user (as only admins can delete users, this leads to the last account not being removable) @ghost Any thoughts?
migration-script added the
Priority: Medium
Status: Pending
Type: Enhancement
labels 2023-06-20 18:21:49 +02:00
Sign in to join this conversation.
No description provided.