2.0 KiB
2.0 KiB
Account Settings Module
The Account Settings module provides the current admin user's profile settings screen. It lets the signed-in admin update profile fields and password, and view assigned roles.
Source Map
| Area | Path |
|---|---|
| Frontend module | apps/admin/src/core/AccountSettings/ |
| Frontend routes | apps/admin/src/core/AccountSettings/config/routing.tsx |
| Frontend translations | apps/admin/src/core/AccountSettings/config/translation/ |
| Auth provider dependency | apps/admin/src/core/Auth/providers/AuthProvider/ |
| Backend profile endpoint | backend/app/base_modules/Admin/controller/admin_controller.ts |
| Backend profile validator | backend/app/base_modules/Admin/validators/admin_update_profile_validator.ts |
Documentation
| Page | Purpose |
|---|---|
| Frontend | Route, page, form, profile update flow, and translations. |
| Backend | Current-user profile endpoint and validation. |
Main Capabilities
- Display current authenticated admin profile.
- Update first name, last name, email, status, and optional password.
- Show assigned roles.
- Crop and stage an avatar image in the form UI.
- Use module-local translations through
ACCOUNT.*keys.
Ownership Rules
- AccountSettings owns the current-user profile UI.
- Auth owns current-user state, token storage, and API calls used by the profile page.
- Backend Admin owns profile persistence and validation.
- AccountSettings should not manage other admins; that belongs to AccessControl.