- Added RevokeSystemAdmin functionality to the user service and repository, ensuring atomic checks for self-revoke and last admin scenarios. - Updated the system handler to utilize the new revocation method, improving error handling for various edge cases. - Enhanced the bootstrap process to prevent unintended promotions when system admins already exist. - Refactored related comments and documentation for clarity on the new behavior and safeguards in place. |
||
|---|---|---|
| .. | ||
| bootstrap.go | ||
| listen.go | ||
| main.go | ||
| signals_unix.go | ||
| signals_windows.go | ||