docs: correct Team Page in the beta README
Evidence: spikersoft-backend@master SpikerSoft.Api/Domain/Team/TeamController.cs:37 TeamRoles is staff, admin, and guide. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f7a7f32fdb
commit
adad09d85f
1 file changed
+1
-1
@@ -1665,7 +1665,7 @@ Chess pieces can be replaced with **Art-Studio-generated 3D sets**: a chess-set
|
|||||||
|
|
||||||
## Team Page
|
## Team Page
|
||||||
|
|
||||||
The `/team` route displays profiles of all SpikerSoft staff members. Profiles are fetched by querying Keycloak for users with the "Staff" and "Admin" realm roles, then merging with MongoDB `UserProfile` data (avatar, handle, bio).
|
The `/team` route displays profiles of enabled Keycloak users in the `staff`, `admin`, and `guide` realm roles (E2E test personas are excluded). Profiles are fetched from those roles, then merged with MongoDB `UserProfile` data (avatar, handle, bio).
|
||||||
|
|
||||||
- **Backend**: `TeamController` (`GET /api/team`) calls `KeycloakAdminService.GetRoleMembersAsync()` to list role members, then joins with the `user-profiles` collection.
|
- **Backend**: `TeamController` (`GET /api/team`) calls `KeycloakAdminService.GetRoleMembersAsync()` to list role members, then joins with the `user-profiles` collection.
|
||||||
- **Frontend**: `TeamComponent` uses `TeamService` to load members and displays them in a responsive glassmorphic card grid. Each card shows an avatar (or generated initials), name, handle, and bio excerpt.
|
- **Frontend**: `TeamComponent` uses `TeamService` to load members and displays them in a responsive glassmorphic card grid. Each card shows an avatar (or generated initials), name, handle, and bio excerpt.
|
||||||
|
|||||||
Reference in new issue
Block a user