修改用户权限校验

This commit is contained in:
2022-05-26 16:26:48 +08:00
parent 8d3e892216
commit 0cfc8fc37b
2 changed files with 18 additions and 2 deletions
@@ -283,7 +283,7 @@ namespace IRaCIS.Core.Application.Contracts
TrialSiteSurveyId = dbEntity!.Id,
Token = _tokenService.GetToken(IRaCISClaims.Create(new UserBasicInfo()
{
Id = Guid.Empty,
Id = Guid.NewGuid(),
IsReviewer = false,
IsAdmin = false,
RealName = "SiteSurvey",