Skip to content
Snippets Groups Projects
Unverified Commit 609e7578 authored by Tim Macdonald's avatar Tim Macdonald Committed by GitHub
Browse files

Do not let API users archive the last superuser (#27524)

* Do not let API users archive the last superuser

[Fixes #26759]

* DRY up admin-archiving check

* Fix is_superuser bug in with-single-admin-user

* Get count of values correctly on H2
parent 6dfe0ddc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment