fix: Add the missing permission dependencies
@ -127,6 +127,7 @@ public class NotificationAppService : AbpNotificationsApplicationServiceBase, IN
severity: input.Severity);
}
[Authorize(NotificationsPermissions.Notification.Send)]
public async virtual Task SendTemplateAsync(NotificationTemplateSendDto input)
{
var notificationTemplate = new NotificationTemplate(
@ -33,6 +33,7 @@ public class NotificationController : AbpControllerBase, INotificationAppService
[HttpPost]
[Route("send/template")]
public virtual Task SendTemplateAsync(NotificationTemplateSendDto input)
return NotificationAppService.SendTemplateAsync(input);