feat: enhance admin user management and profile updates
Deploy Development / deploy (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 40s

- Added role and tier fields to the ProfileUpdate model, allowing for better user role management.
- Implemented new API endpoint for listing admin users, accessible only to portal admins.
- Updated profile retrieval and update logic to handle role and tier changes, enforcing permissions for modifications.
- Enhanced frontend navigation and routing to include the new admin users page, improving admin interface usability.
- Bumped application version to 0.8.19 and updated changelog to reflect these changes.
This commit is contained in:
Lars committed 2026-05-05 21:05:52 +02:00
1 parent 0f08e8df58
commit 9afcd762d0
11 files changed
+574 -11

No files matched your search

+11 -2
View File
@@ -1,15 +1,16 @@
# Shinkan Jinkendo Version Information
APP_VERSION = "0.8.18"
APP_VERSION = "0.8.19"
BUILD_DATE = "2026-05-05"
DB_SCHEMA_VERSION = "20260505040"
MODULE_VERSIONS = {
"auth": "1.1.0", # Registrierung: optional requested_club_id → Beitrittsantrag
"profiles": "1.2.0", # GET /profiles nur Plattform-Admin; pin_hash aus Liste entfernt
"profiles": "1.3.0", # PUT role/tier (Portal-Admin); GET /profiles; pin_hash aus Liste entfernt
"clubs": "0.4.0", # public-directory, members/directory; Vereins-GUI verwendet Endpoints
"club_memberships": "1.0.0",
"club_join_requests": "1.0.0",
"admin_users": "1.0.0", # GET /api/admin/users
"groups": "0.1.0",
"skills": "0.1.0",
"methods": "0.1.0",
@@ -25,6 +26,14 @@ MODULE_VERSIONS = {
}
CHANGELOG = [
{
"version": "0.8.19",
"date": "2026-05-05",
"changes": [
"Portal-Admin: GET /api/admin/users (alle Nutzer + Vereine); PUT /profiles/{id} mit role/tier (Super-Admin nur durch Super-Admin); Mitgliedschaft inaktiv in Übersicht",
"GUI Admin → Nutzer: Portal-Rolle/Tier, Verein zuweisen, Vereinsrollen bearbeiten",
],
},
{
"version": "0.8.18",
"date": "2026-05-05",