fix(identity): harden user lifecycle and permissions
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 20m8s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Failing after 6m10s
Heimdall Gitea / Build and scan server image (pull_request) Failing after 8m2s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Failing after 2s
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 20m8s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Failing after 6m10s
Heimdall Gitea / Build and scan server image (pull_request) Failing after 8m2s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Failing after 2s
This commit is contained in:
1 parent
ea5f0b7589
commit
2bf3dbc95b
80 files changed
+1208
-507
No files matched your search
@@ -245,7 +245,7 @@ Interfaces, DTOs, validateurs.
|
||||
|
||||
| Service | Méthodes |
|
||||
|---------|----------|
|
||||
| `IAuthService` | Register, Login, Verify2fa, RefreshToken, RegisterAdmin |
|
||||
| `IAuthService` | BootstrapAdmin, Login, Verify2fa, RefreshToken, ChangePassword |
|
||||
| `ISiteService` | Create, GetById, List, Update, Delete, GenerateToken |
|
||||
| `IAgentService` | Register, Heartbeat, GetById, ListBySite |
|
||||
| `IUserService` | List, GetById, Create, Update, AssignRoles, AssignSites, ResetPassword, Lock, Unlock |
|
||||
@@ -285,11 +285,15 @@ Authentification AVANT d'exposer l'API.
|
||||
|
||||
| Méthode | Route | Auth | Status |
|
||||
|---|---|---|---|
|
||||
| `POST` | `/api/auth/register` | — | ✅ |
|
||||
| `GET` | `/api/auth/bootstrap-status` | — | ✅ |
|
||||
| `POST` | `/api/auth/bootstrap-admin` | — (first account only) | ✅ |
|
||||
| `POST` | `/api/auth/login` | — | ✅ |
|
||||
| `POST` | `/api/auth/2fa/verify` | — | ✅ |
|
||||
| `POST` | `/api/auth/refresh` | — | ✅ |
|
||||
| `POST` | `/api/auth/register-admin` | Test/Dev only | ✅ |
|
||||
| `POST` | `/api/auth/register` | Retired (404) | ✅ |
|
||||
| `POST` | `/api/auth/register-admin` | Retired (404) | ✅ |
|
||||
| `/api/users/*` | User creation and lifecycle | Admin.Users; surfaced in `/users` UI | ✅ |
|
||||
| `PUT` | `/api/roles/{name}/permissions` | Admin.Manage; surfaced in `/admin/claims` UI (Admin role fixed) | ✅ |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user