hi
These security headers were added by ABP Security Header middleware.
You can remove all app.UseAbpSecurityHeaders
from your apps.
https://abp.io/docs/latest/framework/ui/mvc-razor-pages/security-headers https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/Security/AbpSecurityHeadersMiddleware.cs#L42-L43 Thanks.
hi
This isn't just a simple rewrite or replacement work. The entire permission management module has been almost completely restructured.
You can download the source code of the permission management module to modify both the backend and the Angular frontend.
You need to add two properties like this to the PermissionGrant
entity and then check them.
Thanks.
hi
I will ask our Angular team.
Thanks.
Great 👍
Thanks. I will check your logs.
hi
Can you share the full logs.txt of the authserver?
liming.ma@volosoft.com
Thanks
hi
Ambiguous HTTP method for action - Hon.IFS.SiteManagement.SiteRiskIndices.SiteRiskIndexController.CreateBulkRiskIndicesAsync
(Hon.IFS.SiteManagement.HttpApi).
Actions require an explicit HttpMethod binding for Swagger/OpenAPI 3.0
Try adding [HttpPost]
and [HttpGet]
attributes to your methods.
namespace Hon.IFS.SiteManagement.SiteRiskIndices
{
[RemoteService(Name = SiteManagementRemoteServiceConsts.RemoteServiceName)]
[Area(SiteManagementRemoteServiceConsts.ModuleName)]
[ControllerName("SiteRiskIndex")]
[Route("api/site-management/site-risk-indices")]
[ApiController]
public class SiteRiskIndexController : ISiteRiskIndexAppService
{
protected ISiteRiskIndexAppService _siteRiskIndexAppService;
public SiteRiskIndexController(ISiteRiskIndexAppService siteRiskIndexAppService)
{
_siteRiskIndexAppService = siteRiskIndexAppService;
}
[HttpPost]
public async Task<List<RiskIndexDto>> CreateBulkRiskIndicesAsync(Guid siteId, List<Guid> buildingIds)
{
// Implementation logic for creating bulk risk indices
// Replace the following line with actual implementation
return await _siteRiskIndexAppService.CreateBulkRiskIndicesAsync( siteId, buildingIds);
}
[HttpGet]
public async Task<List<RiskIndexDto>> GetListBySiteAndBuildingsAsync(Guid siteId, List<Guid> buildingIds)
{
// Implementation logic for retrieving risk indices by site and buildings
// Replace the following line with actual implementation
return await _siteRiskIndexAppService.GetListBySiteAndBuildingsAsync(siteId, buildingIds);
}
}
}