From 18f8f3c47689d6eb0420eb254ac009092800c5f0 Mon Sep 17 00:00:00 2001 From: Stephan D Date: Thu, 4 Dec 2025 22:27:16 +0100 Subject: [PATCH] Missing policies --- frontend/pshared/lib/models/resources.dart | 7 +++++++ frontend/pweb/lib/app/app.dart | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/pshared/lib/models/resources.dart b/frontend/pshared/lib/models/resources.dart index d8ec453..41cdedf 100644 --- a/frontend/pshared/lib/models/resources.dart +++ b/frontend/pshared/lib/models/resources.dart @@ -1,5 +1,6 @@ import 'package:json_annotation/json_annotation.dart'; + /// Represents various resource types (mirroring your Go "Type" constants). enum ResourceType { /// Represents user accounts in the system @@ -75,6 +76,12 @@ enum ResourceType { @JsonValue('ledger_posing_lines') ledgerPostingLines, + @JsonValue('payments') + payments, + + @JsonValue('payment_methods') + paymentMethods, + /// Represents permissions service @JsonValue('permissions') permissions, diff --git a/frontend/pweb/lib/app/app.dart b/frontend/pweb/lib/app/app.dart index b34c3a2..47e6205 100644 --- a/frontend/pweb/lib/app/app.dart +++ b/frontend/pweb/lib/app/app.dart @@ -18,7 +18,7 @@ class PayApp extends StatelessWidget { @override Widget build(BuildContext context) => MaterialApp.router( - title: 'sendico', + title: 'Sendico', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Constants.themeColor), useMaterial3: true,