- 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. |
||
|---|---|---|
| .. | ||
| asynqdl | ||
| access.go | ||
| access_test.go | ||
| audit_provider.go | ||
| auth.go | ||
| auth_role_test.go | ||
| error_handler.go | ||
| kb_access.go | ||
| kb_access_test.go | ||
| language.go | ||
| logger.go | ||
| logger_test.go | ||
| rbac.go | ||
| rbac_audit_test.go | ||
| rbac_test.go | ||
| recovery.go | ||
| trace.go | ||