Commit Graph

3 Commits

Author SHA1 Message Date
masoodafar-web
5a6dba445b refactor: rename SuperAdmin role to Administrator
All checks were successful
Build and Deploy / build (push) Successful in 2m24s
2025-12-07 23:39:22 +03:30
masoodafar-web
b229a3f0b6 refactor: Update protobuf namespaces and remove unused imports 2025-12-06 16:42:15 +03:30
masoodafar-web
4aa9f28f6e feat: Implement user permission checks and manual payment functionalities
- Added CheckUserPermissionQuery and CheckUserPermissionQueryHandler for permission validation.
- Introduced GetUserRolesQuery and GetUserRolesQueryHandler to retrieve user roles.
- Created IPermissionService interface and its implementation in PermissionService.
- Defined permission and role constants in PermissionDefinitions.
- Developed SetDefaultVatPercentageCommand and its handler for VAT configuration.
- Implemented GetCurrentVatPercentageQuery and handler to fetch current VAT settings.
- Added manual payment commands: CreateManualPayment, ApproveManualPayment, and RejectManualPayment with respective handlers and validators.
- Created GetManualPaymentsQuery and handler for retrieving manual payment records.
- Integrated gRPC services for manual payments with appropriate permission checks.
- Established Protobuf definitions for manual payment operations and metadata.
2025-12-05 17:27:38 +03:30