feat: Implement widget-feature assignment management in admin dashboard
- 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:
1 parent
365ce49c6a
commit
24daeeb83c
10 files changed
+498
-13
No files matched your search
@@ -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'),
|
||||
|
||||
Reference in new issue
Block a user