From c9d1f15cf1ca8ff6e85f16ad4de53a3e9d991155 Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Mon, 1 Nov 2021 14:24:31 +0300 Subject: [PATCH] Add authorize attribute to PaymentRequestAdminAppService.cs --- .../Payments/PaymentRequestAdminAppService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/payment/src/Payment.Admin.Application/Payments/PaymentRequestAdminAppService.cs b/modules/payment/src/Payment.Admin.Application/Payments/PaymentRequestAdminAppService.cs index dcc8f0a..07a8c4e 100644 --- a/modules/payment/src/Payment.Admin.Application/Payments/PaymentRequestAdminAppService.cs +++ b/modules/payment/src/Payment.Admin.Application/Payments/PaymentRequestAdminAppService.cs @@ -1,11 +1,14 @@ using System.Collections.Generic; using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; +using Payment.Admin.Permissions; using Payment.PaymentRequests; using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; namespace Payment.Admin.Payments { + [Authorize(PaymentAdminPermissions.Request.Default)] public class PaymentRequestAdminAppService : ApplicationService, IPaymentRequestAdminAppService { protected IPaymentRequestRepository PaymentRequestRepository { get; }