Logo
Explore Help
Register Sign In
admin/BackOffice.BFF
1
0
Fork 0
You've already forked BackOffice.BFF
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
5f1f59dd207040f558d9330d26c9471291450c6d
BackOffice.BFF/src/BackOffice.BFF.Application/AuthorizationCQ/Queries/CheckUserPermission/CheckUserPermissionQuery.cs

7 lines
176 B
C#
Raw Normal View History

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
using MediatR;
namespace BackOffice.BFF.Application.AuthorizationCQ.Queries.CheckUserPermission;
public record CheckUserPermissionQuery(string Permission) : IRequest<bool>;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 99ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API