feat: Implement widget-feature assignment management in admin dashboard
Deploy Development / deploy (push) Successful in 53s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 15s

- Added new API endpoints for listing and updating widget-feature assignments, allowing for custom feature requirements.
- Introduced a new admin page for managing widget-feature assignments, enhancing the admin interface.
- Updated navigation to include a link to the new widget-feature assignments page.
- Refactored widget access logic to support AND-based feature requirements for widgets.
- Bumped app_dashboard version to 1.11.0 to reflect these changes and improvements.
This commit is contained in:
Lars committed 2026-04-08 12:26:28 +02:00
1 parent 365ce49c6a
commit 24daeeb83c
10 files changed
+498 -13

No files matched your search

+4
View File
@@ -83,6 +83,10 @@ export const api = {
adminDeleteDashboardProductDefault: () =>
req('/admin/dashboard-product-default', { method: 'DELETE' }),
adminGetWidgetFeatureAssignments: () => req('/admin/widget-feature-assignments'),
adminPutWidgetFeatureAssignment: (widgetId, body) =>
req(`/admin/widget-feature-assignments/${encodeURIComponent(widgetId)}`, jput(body)),
// Persönliche Referenzwerte (Profil, historisch)
listReferenceValueTypes: () => req('/reference-value-types'),
listReferenceValueMetaEnums: () => req('/reference-value-meta/enums'),