0
imranStem created
I have azure service handler and I am creating the entity through AppService but I am getting the unauthorize permission issue.
[UnitOfWork]
public async Task HandleEventAsync(ArticleDownCreationEto articleDownCreationEto)
{
await _articleDownsAppService.CreateAsync(articleDownCreationEto);
}
I am getting below exception:
[integration-service_8e3ac652-7]: [15:59:52 INF] Authorization failed. These requirements were not met: [integration-service_8e3ac652-7]: PermissionRequirement: IntegrationService.ArticleDowns
- ABP Framework version: v7.4.4
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace: [integration-service_8e3ac652-7]: [15:59:52 INF] Authorization failed. These requirements were not met: [integration-service_8e3ac652-7]: PermissionRequirement: IntegrationService.ArticleDowns
- Steps to reproduce the issue:
1 Answer(s)
-
0
hi
Please use
DomainService
inHandleEventAsync
method.You can also use the same
DomainService
in_articleDownsAppService
.